Skip to content

Commit dd7606d

Browse files
committed
fixing validation errors
1 parent 50730c5 commit dd7606d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Run your application and open your **Application Insights Resource** tab in the
308308
:::image type="content" source="media/opentelemetry/server-requests.png" alt-text="Screenshot of the Application Insights Overview tab with server requests and server response time highlighted.":::
309309

310310
> [!IMPORTANT]
311-
> If you have two or more services that emit telemetry to the same Application Insights resource, you're required to [set Cloud Role Names](#set-cloud-role-name-and-cloud-role-instance) to represent them properly on the Application Map.
311+
> If you have two or more services that emit telemetry to the same Application Insights resource, you're required to [set Cloud Role Names](#set-the-cloud-role-name-and-the-cloud-role-instance) to represent them properly on the Application Map.
312312
313313
As part of using Application Insights instrumentation, we collect and send diagnostic data to Microsoft. This data helps us run and improve Application Insights. You have the option to disable nonessential data collection. To learn more, see [Statsbeat in Azure Application Insights](./statsbeat.md).
314314

@@ -402,7 +402,7 @@ Sampling is supported in OpenTelemetry, but it isn't supported in the Azure Moni
402402
403403
## Instrumentation libraries
404404
<!-- Microsoft has tested and validated that the following instrumentation libraries will work with the **Preview** Release. -->
405-
The following libraries are validated to work with the preview release:
405+
The following libraries are validated to work with the preview release.
406406

407407
> [!WARNING]
408408
> Instrumentation libraries are based on experimental OpenTelemetry specifications. Microsoft's *preview* support commitment is to ensure that the following libraries emit data to Azure Monitor Application Insights, but it's possible that breaking changes or experimental mapping will block some data elements.
@@ -461,6 +461,8 @@ The following libraries are validated to work with the preview release:
461461
462462
## Modify telemetry
463463

464+
This section explains how to modify telemetry.
465+
464466
### Add span attributes
465467

466468
To span attributes, use either of the following two ways:
@@ -593,7 +595,7 @@ You can populate the _client_IP_ field for requests by setting the `http.client_
593595

594596
##### [.NET](#tab/net)
595597

596-
Use the add [custom property example](#add-custom-property), but replace the following lines of code in `ActivityEnrichingProcessor.cs`:
598+
Use the add [custom property example](#add-a-custom-property), but replace the following lines of code in `ActivityEnrichingProcessor.cs`:
597599

598600
```C#
599601
// only applicable in case of activity.Kind == Server
@@ -602,7 +604,7 @@ activity.SetTag("http.client_ip", "<IP Address>");
602604

603605
##### [Node.js](#tab/nodejs)
604606

605-
Use the add [custom property example](#add-custom-property), but replace the following lines of code:
607+
Use the add [custom property example](#add-a-custom-property), but replace the following lines of code:
606608

607609
```typescript
608610
...
@@ -619,7 +621,7 @@ class SpanEnrichingProcessor implements SpanProcessor{
619621

620622
##### [Python](#tab/python)
621623

622-
Use the add [custom property example](#add-custom-property), but replace the following lines of code in `SpanEnrichingProcessor.py`:
624+
Use the add [custom property example](#add-a-custom-property), but replace the following lines of code in `SpanEnrichingProcessor.py`:
623625

624626
```python
625627
span._attributes["http.client_ip"] = "<IP Address>"
@@ -756,7 +758,7 @@ You might use the following ways to filter out telemetry before you leave your a
756758
```
757759

758760
1. Use a custom processor. You can use a custom span processor to exclude certain spans from being exported. To mark spans to not be exported, set `TraceFlag` to `DEFAULT`.
759-
Use the add [custom property example](#add-custom-property), but replace the following lines of code:
761+
Use the add [custom property example](#add-a-custom-property), but replace the following lines of code:
760762

761763
```typescript
762764
...

0 commit comments

Comments
 (0)