diff --git a/articles/azure-monitor/app/java-get-started-supplemental.md b/articles/azure-monitor/app/java-get-started-supplemental.md index dfeba0f752..583acc4d21 100644 --- a/articles/azure-monitor/app/java-get-started-supplemental.md +++ b/articles/azure-monitor/app/java-get-started-supplemental.md @@ -2,7 +2,7 @@ title: Application Insights with containers description: This article shows you how to set up Application Insights. ms.topic: how-to -ms.date: 09/26/2025 +ms.date: 10/30/2025 ms.devlang: java ms.custom: devx-track-java, devx-track-extended-java --- @@ -30,16 +30,16 @@ For more information, see [Use Application Insights Java In-Process Agent in Azu ### Docker entry point -If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.7.5.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example: +If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.7.6.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example: ```dockerfile -ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.7.5.jar", "-jar", ""] +ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.7.6.jar", "-jar", ""] ``` -If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.7.5.jar"` somewhere before `-jar`, for example: +If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.7.6.jar"` somewhere before `-jar`, for example: ```dockerfile -ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.7.5.jar" -jar +ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.7.6.jar" -jar ``` @@ -52,16 +52,16 @@ FROM ... COPY target/*.jar app.jar -COPY agent/applicationinsights-agent-3.7.5.jar applicationinsights-agent-3.7.5.jar +COPY agent/applicationinsights-agent-3.7.6.jar applicationinsights-agent-3.7.6.jar COPY agent/applicationinsights.json applicationinsights.json ENV APPLICATIONINSIGHTS_CONNECTION_STRING="CONNECTION-STRING" -ENTRYPOINT["java", "-javaagent:applicationinsights-agent-3.7.5.jar", "-jar", "app.jar"] +ENTRYPOINT["java", "-javaagent:applicationinsights-agent-3.7.6.jar", "-jar", "app.jar"] ``` -In this example, you copy the `applicationinsights-agent-3.7.5.jar` and `applicationinsights.json` files from an `agent` folder (you can choose any folder of your machine). These two files have to be in the same folder in the Docker container. +In this example, you copy the `applicationinsights-agent-3.7.6.jar` and `applicationinsights.json` files from an `agent` folder (you can choose any folder of your machine). These two files have to be in the same folder in the Docker container. ### Partner container images diff --git a/articles/azure-monitor/app/java-spring-boot.md b/articles/azure-monitor/app/java-spring-boot.md index 753461d03e..6ae6b0adaa 100644 --- a/articles/azure-monitor/app/java-spring-boot.md +++ b/articles/azure-monitor/app/java-spring-boot.md @@ -2,7 +2,7 @@ title: Configure Azure Monitor Application Insights for Spring Boot description: How to configure Azure Monitor Application Insights for Spring Boot applications ms.topic: how-to -ms.date: 09/26/2025 +ms.date: 10/30/2025 ms.devlang: java ms.custom: devx-track-java, devx-track-extended-java --- @@ -16,10 +16,10 @@ There are two options for enabling Application Insights Java with Spring Boot: J ## Enabling with JVM argument -Add the JVM arg `-javaagent:"path/to/applicationinsights-agent-3.7.5.jar"` somewhere before `-jar`, for example: +Add the JVM arg `-javaagent:"path/to/applicationinsights-agent-3.7.6.jar"` somewhere before `-jar`, for example: ```console -java -javaagent:"path/to/applicationinsights-agent-3.7.5.jar" -jar +java -javaagent:"path/to/applicationinsights-agent-3.7.6.jar" -jar ``` ### Spring Boot via Docker entry point @@ -38,7 +38,7 @@ To enable Application Insights Java programmatically, you must add the following com.microsoft.azure applicationinsights-runtime-attach - 3.7.5 + 3.7.6 ``` @@ -113,7 +113,7 @@ First, add the `applicationinsights-core` dependency: com.microsoft.azure applicationinsights-core - 3.7.5 + 3.7.6 ``` diff --git a/articles/azure-monitor/app/java-standalone-config.md b/articles/azure-monitor/app/java-standalone-config.md index 3ea7e160de..82860e0d42 100644 --- a/articles/azure-monitor/app/java-standalone-config.md +++ b/articles/azure-monitor/app/java-standalone-config.md @@ -2,7 +2,7 @@ title: Configuration options - Azure Monitor Application Insights for Java description: This article shows you how to configure Azure Monitor Application Insights for Java. ms.topic: how-to -ms.date: 09/26/2025 +ms.date: 10/30/2025 ms.devlang: java ms.custom: devx-track-java, devx-track-extended-java --- @@ -33,7 +33,7 @@ More information and configuration options are provided in the following section ### Default configuration -By default, Application Insights Java 3 expects the configuration file to be named applicationinsights.json and located in the same directory as applicationinsights-agent-3.7.5.jar. +By default, Application Insights Java 3 expects the configuration file to be named applicationinsights.json and located in the same directory as applicationinsights-agent-3.7.6.jar. ### Alternative configurations @@ -43,7 +43,7 @@ You can specify a custom configuration file with * the APPLICATIONINSIGHTS_CONFIGURATION_FILE environment variable, or * the applicationinsights.configuration.file system property -If you provide a relative path, it will resolve relative to the directory where applicationinsights-agent-3.7.5.jar is located. +If you provide a relative path, it will resolve relative to the directory where applicationinsights-agent-3.7.6.jar is located. #### JSON configuration @@ -70,7 +70,7 @@ Or you can set the connection string by using the Java system property `applicat You can also set the connection string by specifying a file to load the connection string from. -If you specify a relative path, it resolves relative to the directory where `applicationinsights-agent-3.7.5.jar` is located. +If you specify a relative path, it resolves relative to the directory where `applicationinsights-agent-3.7.6.jar` is located. ```json { @@ -336,7 +336,7 @@ Add `applicationinsights-core` to your application: com.microsoft.azure applicationinsights-core - 3.7.5 + 3.7.6 ``` @@ -911,7 +911,7 @@ In the preceding configuration example: * `level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`. * `path` can be an absolute or relative path. Relative paths are resolved against the directory where -`applicationinsights-agent-3.7.5.jar` is located. +`applicationinsights-agent-3.7.6.jar` is located. Starting from version 3.0.2, you can also set the self-diagnostics `level` by using the environment variable `APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL`. It then takes precedence over the self-diagnostics level specified in the JSON configuration. diff --git a/articles/azure-monitor/app/java-standalone-upgrade-from-2x.md b/articles/azure-monitor/app/java-standalone-upgrade-from-2x.md index 563b47cfc7..506c88d0a5 100644 --- a/articles/azure-monitor/app/java-standalone-upgrade-from-2x.md +++ b/articles/azure-monitor/app/java-standalone-upgrade-from-2x.md @@ -2,7 +2,7 @@ title: Upgrading from 2.x - Azure Monitor Application Insights Java description: Upgrading from Azure Monitor Application Insights Java 2.x ms.topic: how-to -ms.date: 09/26/2025 +ms.date: 10/30/2025 ms.devlang: java ms.custom: devx-track-java, devx-track-extended-java --- @@ -28,7 +28,7 @@ There are typically no code changes when upgrading to 3.x. The 3.x SDK dependenc Add the 3.x Java agent to your Java Virtual Machine (JVM) command-line args, for example: ``` --javaagent:path/to/applicationinsights-agent-3.7.5.jar +-javaagent:path/to/applicationinsights-agent-3.7.6.jar ``` If you're using the Application Insights 2.x Java agent, just replace your existing `-javaagent:...` with the previous example. diff --git a/articles/azure-monitor/app/opentelemetry-enable.md b/articles/azure-monitor/app/opentelemetry-enable.md index f65f859f82..8c4dbb5eb8 100644 --- a/articles/azure-monitor/app/opentelemetry-enable.md +++ b/articles/azure-monitor/app/opentelemetry-enable.md @@ -2,7 +2,7 @@ title: Enable OpenTelemetry in Application Insights description: Learn how to enable OpenTelemetry (OTel) data collection in Application Insights for .NET, Java, Node.js, and Python applications using the Azure Monitor OpenTelemetry Distro. ms.topic: how-to -ms.date: 09/26/2025 +ms.date: 10/30/2025 ms.devlang: csharp # ms.devlang: csharp, java, javascript, typescript, python ms.custom: devx-track-dotnet, devx-track-extended-java, devx-track-python @@ -115,7 +115,7 @@ dotnet add package Azure.Monitor.OpenTelemetry.Exporter #### [Java](#tab/java) -Download the latest [applicationinsights-agent-3.7.4.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.7.4/applicationinsights-agent-3.7.4.jar) file. +Download the latest [applicationinsights-agent-3.7.6.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.7.6/applicationinsights-agent-3.7.6.jar) file. > [!WARNING] > @@ -230,7 +230,7 @@ var loggerFactory = LoggerFactory.Create(builder => Autoinstrumentation is enabled through configuration changes. *No code changes are required.* -Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.7.5.jar"` to your application's JVM args. +Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.7.6.jar"` to your application's JVM args. > [!NOTE] > Sampling is enabled by default at a rate of 5 requests per second, aiding in cost management. Telemetry data may be missing in scenarios exceeding this rate. For more information on modifying sampling configuration, see [sampling overrides](./java-standalone-sampling-overrides.md). @@ -309,7 +309,7 @@ To paste your connection string, select from the following options: * **Set via configuration file** - *Java only* - Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.7.5.jar` with the following content: + Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.7.6.jar` with the following content: ```json {