Skip to content

Commit 1bc1aa9

Browse files
committed
Making updates based on feedback
1 parent afcbcab commit 1bc1aa9

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

articles/azure-monitor/app/opentelemetry-enable.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,6 @@ trace.set_tracer_provider(
430430

431431
---
432432

433-
For information on standard attributes for resources, see [Resource Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md).
434-
435433
## Enable Sampling
436434

437435
You may want to enable sampling to reduce your data ingestion volume, which reduces your cost. Azure Monitor provides a custom *fixed-rate* sampler that populates events with a "sampling ratio", which Application Insights converts to "ItemCount". The *fixed-rate* sampler ensures accurate experiences and event counts. The sampler is designed to preserve your traces across services, and it's interoperable with older Application Insights SDKs. For more information, see [Learn More about sampling](sampling.md#brief-summary).
@@ -558,8 +556,8 @@ Autocollected requests:
558556
* Servlets
559557
* Spring scheduling
560558

561-
> [!NOTE]
562-
> Servlet and Netty auto-instrumentation covers the majority of Java HTTP services, including Java EE, Jakarta EE, Spring Boot, Quarkus, and Micronaut.
559+
> [!NOTE]
560+
> Servlet and Netty auto-instrumentation covers the majority of Java HTTP services, including Java EE, Jakarta EE, Spring Boot, Quarkus, and Micronaut.
563561
564562
Autocollected dependencies (plus downstream distributed trace propagation):
565563

@@ -1120,9 +1118,6 @@ using (var activity = activitySource.StartActivity("ExceptionExample"))
11201118

11211119
You can use `opentelemetry-api` to update the status of a span and record exceptions.
11221120

1123-
> [!NOTE]
1124-
> This feature is only in 3.2.0 and later.
1125-
11261121
1. Add `opentelemetry-api-1.0.0.jar` (or later) to your application:
11271122

11281123
```xml
@@ -1227,9 +1222,6 @@ The simplest way to add your own spans is by using OpenTelemetry's `@WithSpan` a
12271222

12281223
Spans populate the `requests` and `dependencies` tables in Application Insights.
12291224

1230-
> [!NOTE]
1231-
> This feature is only in 3.2.0 and later.
1232-
12331225
1. Add `opentelemetry-instrumentation-annotations-1.21.0.jar` (or later) to your application:
12341226

12351227
```xml
@@ -1261,9 +1253,6 @@ so that it will end up in the Application Insights `requests` table.
12611253
If the preceding OpenTelemetry `@WithSpan` annotation doesn't meet your needs,
12621254
you can add your spans by using the OpenTelemetry API.
12631255

1264-
> [!NOTE]
1265-
> This feature is only in 3.2.0 and later.
1266-
12671256
1. Add `opentelemetry-api-1.0.0.jar` (or later) to your application:
12681257

12691258
```xml
@@ -1325,9 +1314,6 @@ Coming soon.
13251314
13261315
You can use `opentelemetry-api` to create span events, which populate the `traces` table in Application Insights. The string passed in to `addEvent()` is saved to the `message` field within the trace.
13271316
1328-
> [!NOTE]
1329-
> This feature is only in 3.2.0 and later.
1330-
13311317
1. Add `opentelemetry-api-1.0.0.jar` (or later) to your application:
13321318
13331319
```xml
@@ -1509,9 +1495,6 @@ You can use `opentelemetry-api` to add attributes to spans.
15091495

15101496
Adding one or more span attributes populates the `customDimensions` field in the `requests`, `dependencies`, `traces`, or `exceptions` table.
15111497

1512-
> [!NOTE]
1513-
> This feature is only in 3.2.0 and later.
1514-
15151498
1. Add `opentelemetry-api-1.0.0.jar` (or later) to your application:
15161499

15171500
```xml
@@ -1660,10 +1643,6 @@ Coming soon.
16601643

16611644
Populate the `user ID` field in the `requests`, `dependencies`, or `exceptions` table.
16621645

1663-
1664-
> [!NOTE]
1665-
> This feature is only in 3.2.0 and later.
1666-
16671646
1. Add `opentelemetry-api-1.0.0.jar` (or later) to your application:
16681647

16691648
```xml
@@ -1913,9 +1892,6 @@ Coming soon.
19131892

19141893
You can use `opentelemetry-api` to get the trace ID or span ID.
19151894

1916-
> [!NOTE]
1917-
> This feature is only in 3.2.0 and later.
1918-
19191895
1. Add `opentelemetry-api-1.0.0.jar` (or later) to your application:
19201896

19211897
```xml

0 commit comments

Comments
 (0)