Skip to content

Commit cfce959

Browse files
committed
edit pass: opentelemetry-enable-2
1 parent a128595 commit cfce959

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ npm install @opentelemetry/instrumentation-http
157157

158158
#### [Python](#tab/python)
159159

160-
Install the latest [azure-monitor-opentelemetry-exporter](https://pypi.org/project/azure-monitor-opentelemetry-exporter/) PyPi package:
160+
Install the latest [azure-monitor-opentelemetry-exporter](https://pypi.org/project/azure-monitor-opentelemetry-exporter/) PyPI package:
161161

162162
```sh
163163
pip install azure-monitor-opentelemetry-exporter
@@ -167,7 +167,7 @@ pip install azure-monitor-opentelemetry-exporter
167167

168168
### Enable Azure Monitor Application Insights
169169

170-
This section provides code samples that demonstrate how to enable OpenTelemetry.
170+
This section provides guidance that shows how to enable OpenTelemetry.
171171

172172
#### Add OpenTelemetry instrumentation code
173173

@@ -465,7 +465,7 @@ This section explains how to modify telemetry.
465465

466466
### Add span attributes
467467

468-
To span attributes, use either of the following two ways:
468+
To add span attributes, use either of the following two ways:
469469

470470
* Use options provided by [instrumentation libraries](#instrumentation-libraries).
471471
* Add a custom span processor.
@@ -477,7 +477,7 @@ These attributes might include adding a custom property to your telemetry. You m
477477
478478
#### Add a custom property
479479

480-
Any [attributes](#add-span-attributes) you add to activity or span are exported as custom properties. They populate the _customDimensions_ field in the requests or the dependencies tables in Application Insights.
480+
Any [attributes](#add-span-attributes) you add to spans are exported as custom properties. They populate the _customDimensions_ field in the requests or the dependencies tables in Application Insights.
481481

482482
##### [.NET](#tab/net)
483483

@@ -591,7 +591,7 @@ class SpanEnrichingProcessor(SpanProcessor):
591591

592592
#### Set the user IP
593593

594-
You can populate the _client_IP_ field for requests by setting the `http.client_ip` attribute on the activity or span. Application Insights uses the IP address to generate user location attributes and then [discards it by default](ip-collection.md#default-behavior).
594+
You can populate the _client_IP_ field for requests by setting the `http.client_ip` attribute on the span. Application Insights uses the IP address to generate user location attributes and then [discards it by default](ip-collection.md#default-behavior).
595595

596596
##### [.NET](#tab/net)
597597

@@ -632,7 +632,7 @@ span._attributes["http.client_ip"] = "<IP Address>"
632632
633633
#### Set the user ID or authenticated user ID
634634
635-
You can populate the _user_Id_ or _user_Authenticatedid_ field for requests by setting the `xyz` or `xyz` attribute on activity or span. User ID is an anonymous user identifier. Authenticated User ID is a known user identifier.
635+
You can populate the _user_Id_ or _user_Authenticatedid_ field for requests by setting the `xyz` or `xyz` attribute on the span. User ID is an anonymous user identifier. Authenticated User ID is a known user identifier.
636636
637637
> [!IMPORTANT]
638638
> Consult applicable privacy laws before you set the Authenticated User ID.
@@ -675,7 +675,7 @@ span._attributes["enduser.id"] = "<User ID>"
675675

676676
### Filter telemetry
677677

678-
You might use the following ways to filter out telemetry before you leave your application.
678+
You might use the following ways to filter out telemetry before it leaves your application.
679679

680680
#### [.NET](#tab/net)
681681

@@ -1031,7 +1031,7 @@ To provide feedback:
10311031
### [Python](#tab/python)
10321032

10331033
- To review the source code, see the [Azure Monitor Exporter GitHub repository](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/README.md).
1034-
- To install the PyPi package, check for updates, or view release notes, see the [Azure Monitor Exporter PyPi Package](https://pypi.org/project/azure-monitor-opentelemetry-exporter/) page.
1034+
- To install the PyPI package, check for updates, or view release notes, see the [Azure Monitor Exporter PyPI Package](https://pypi.org/project/azure-monitor-opentelemetry-exporter/) page.
10351035
- To become more familiar with Azure Monitor Application Insights and OpenTelemetry, see the [Azure Monitor Example Application](https://github.com/Azure-Samples/azure-monitor-opentelemetry-python).
10361036
- To learn more about OpenTelemetry and its community, see the [OpenTelemetry Python GitHub repository](https://github.com/open-telemetry/opentelemetry-python).
10371037
- To enable usage experiences, [enable web or browser user monitoring](javascript.md).

0 commit comments

Comments
 (0)