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/azure-ad-authentication.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ Use the `APPLICATIONINSIGHTS_AUTHENTICATION_STRING` environment variable to let
172
172
> [!NOTE]
173
173
> Support for Microsoft Entra ID in the Application Insights Java agent is included starting with [Java 3.2.0-BETA](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.2.0-BETA).
174
174
175
-
1.[Configure your application with the Java agent.](opentelemetry-enable.md?tabs=java#get-started)
175
+
1.[Configure your application with the Java agent.](opentelemetry-enable.md?tabs=java#enable-opentelemetry-with-application-insights)
176
176
177
177
> [!IMPORTANT]
178
178
> Use the full connection string, which includes `IngestionEndpoint`, when you configure your app with the Java agent. For example, use `InstrumentationKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX;IngestionEndpoint=https://XXXX.applicationinsights.azure.com/`.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/opentelemetry-enable.md
+13-35Lines changed: 13 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,18 +125,18 @@ Download the [applicationinsights-agent-3.5.4.jar](https://github.com/microsoft/
125
125
#### [Java native](#tab/java-native)
126
126
127
127
For Spring Boot native applications:
128
+
128
129
*[Import the OpenTelemetry Bills of Materials (BOM)](https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/getting-started/).
129
130
* Add the [Spring Cloud Azure Starter Monitor](https://central.sonatype.com/artifact/com.azure.spring/spring-cloud-azure-starter-monitor) dependency.
130
131
* Follow [these instructions](/azure//developer/java/spring-framework/developer-guide-overview#configuring-spring-boot-3) for the Azure SDK JAR (Java Archive) files.
131
132
132
133
For Quarkus native applications:
134
+
133
135
* Add the [Quarkus OpenTelemetry Exporter for Azure](https://mvnrepository.com/artifact/io.quarkiverse.opentelemetry.exporter/quarkus-opentelemetry-exporter-azure) dependency.
* Set via Configuration File - Java Only (Recommended)
295
+
* Set via configuration file - ***Java only***
296
296
297
297
Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.5.4.jar` with the following content:
298
298
@@ -311,54 +311,32 @@ To paste your connection string, select from the following options:
311
311
-->
312
312
313
313
> [!NOTE]
314
-
> If you set the connection string in more than one place, we adhere to the following precedence:
315
-
>
316
-
> 1. Code
317
-
> 2. Environment Variable
314
+
> If you set the connection string in multiple places, the environment variable will be prioritized over the configuration file.
318
315
319
316
### Confirm data is flowing
320
317
321
-
Run your application and open your **Application Insights Resource** tab in the Azure portal. It might take a few minutes for data to show up in the portal.
318
+
Run your application, then open Application Insights in the Azure portal. It might take a few minutes for data to show up.
322
319
323
320
:::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.":::
324
321
325
-
Application Insights is now enabled for your application. All the following steps are optional and allow for further customization.
322
+
Application Insights is now enabled for your application. The following steps are optional and allow for further customization.
326
323
327
324
> [!IMPORTANT]
328
325
> If you have two or more services that emit telemetry to the same Application Insights resource, you're required to [set Cloud Role Names](opentelemetry-configuration.md#set-the-cloud-role-name-and-the-cloud-role-instance) to represent them properly on the Application Map.
329
326
330
327
As part of using Application Insights instrumentation, we collect and send diagnostic data to Microsoft. This data helps us run and improve Application Insights. To learn more, see [Statsbeat in Azure Application Insights](./statsbeat.md).
331
328
332
-
## Samples
333
-
334
-
Azure Monitor OpenTelemetry sample applications are available for all supported languages.
329
+
## Sample applications
335
330
336
-
### [ASP.NET Core](#tab/aspnetcore)
331
+
Azure Monitor OpenTelemetry sample applications are available for all supported languages:
0 commit comments