Skip to content

Commit 27c3f05

Browse files
authored
Update opentelemetry-dotnet-migrate.md
1 parent 9c19a82 commit 27c3f05

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/azure-monitor/app/opentelemetry-dotnet-migrate.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,8 +1215,7 @@ OpenTelemetry .NET utilizes the `ActivitySource` and `Activity` classes for trac
12151215

12161216
Here's how to migrate manual tracing:
12171217

1218-
> **Note:**
1219-
>
1218+
> Note
12201219
> In Application Insights, the role name and role instance could be set at a per-telemetry level. However, with the Azure Monitor Exporter, we cannot customize at a per-telemetry level. The role name and role instance are extracted from the OpenTelemetry resource and applied across all telemetry. Please read this document for more information: [Set the cloud role name and the cloud role instance](./opentelemetry-configuration.md?tabs=aspnetcore#set-the-cloud-role-name-and-the-cloud-role-instance).
12211220

12221221
#### DependencyTelemetry
@@ -1471,7 +1470,7 @@ Additionally, OpenTelemetry doesn't support sending raw metrics directly, as the
14711470

14721471
Migrating from Application Insights to OpenTelemetry involves replacing all Application Insights Metric API usages with the OpenTelemetry API. It requires understanding the various OpenTelemetry Instruments and their semantics.
14731472

1474-
> **Tip:**
1473+
> [!Tip]
14751474
> The histogram is the most versatile and the closest equivalent to the Application Insights `GetMetric().TrackValue()` API. You can replace Application Insights Metric APIs with Histogram to achieve the same purpose.
14761475

14771476
#### Other Telemetry Types
@@ -1570,4 +1569,4 @@ TelemetryClient.TrackPageView()
15701569
- For OpenTelemetry issues, contact the [OpenTelemetry .NET community](https://github.com/open-telemetry/opentelemetry-dotnet) directly.
15711570
- For a list of open issues related to Azure Monitor Exporter, see the [GitHub Issues Page](https://github.com/Azure/azure-sdk-for-net/issues?q=is%3Aopen+is%3Aissue+label%3A%22Monitor+-+Exporter%22).
15721571
1573-
---
1572+
---

0 commit comments

Comments
 (0)