You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/opentelemetry-enable.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,13 +123,13 @@ Download the [applicationinsights-agent-3.5.4.jar](https://github.com/microsoft/
123
123
124
124
#### [Java native](#tab/java-native)
125
125
126
-
**For Spring Boot native applications:**
126
+
For *Spring Boot* native applications:
127
127
128
128
*[Import the OpenTelemetry Bills of Materials (BOM)](https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/getting-started/).
129
129
* Add the [Spring Cloud Azure Starter Monitor](https://central.sonatype.com/artifact/com.azure.spring/spring-cloud-azure-starter-monitor) dependency.
130
130
* Follow [these instructions](/azure//developer/java/spring-framework/developer-guide-overview#configuring-spring-boot-3) for the Azure SDK JAR (Java Archive) files.
131
131
132
-
**For Quarkus native applications:**
132
+
For *Quarkus* native applications:
133
133
134
134
* Add the [Quarkus OpenTelemetry Exporter for Azure](https://mvnrepository.com/artifact/io.quarkiverse.opentelemetry.exporter/quarkus-opentelemetry-exporter-azure) dependency.
Add `UseAzureMonitor()` to your application startup, located in your `program.cs` class:
174
+
Import the `Azure.Monitor.OpenTelemetry.AspNetCore` namespace, add OpenTelemetry, and configure it to use Azure Monitor in your `program.cs` class:
175
175
176
176
```csharp
177
177
// Import the Azure.Monitor.OpenTelemetry.AspNetCore namespace.
@@ -221,7 +221,7 @@ var loggerFactory = LoggerFactory.Create(builder =>
221
221
222
222
#### [Java](#tab/java)
223
223
224
-
Java autoinstrumentation is enabled through configuration changes; no code changes are required.
224
+
Autoinstrumentation is enabled through configuration changes. *No code changes are required.*
225
225
226
226
Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.5.4.jar"` to your application's JVM args.
227
227
@@ -236,7 +236,7 @@ Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path
236
236
237
237
#### [Java native](#tab/java-native)
238
238
239
-
Several automatic instrumentations are enabled through configuration changes. *No code changes are required.*
239
+
Autoinstrumentation is enabled through configuration changes. *No code changes are required.*
0 commit comments