Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions articles/azure-monitor/app/java-get-started-supplemental.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down Expand Up @@ -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", "<myapp.jar>"]
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.7.6.jar", "-jar", "<myapp.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 <myapp.jar>
ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.7.6.jar" -jar <myapp.jar>
```


Expand All @@ -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

Expand Down
10 changes: 5 additions & 5 deletions articles/azure-monitor/app/java-spring-boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand All @@ -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 <myapp.jar>
java -javaagent:"path/to/applicationinsights-agent-3.7.6.jar" -jar <myapp.jar>
```

### Spring Boot via Docker entry point
Expand All @@ -38,7 +38,7 @@ To enable Application Insights Java programmatically, you must add the following
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>applicationinsights-runtime-attach</artifactId>
<version>3.7.5</version>
<version>3.7.6</version>
</dependency>
```

Expand Down Expand Up @@ -113,7 +113,7 @@ First, add the `applicationinsights-core` dependency:
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>applicationinsights-core</artifactId>
<version>3.7.5</version>
<version>3.7.6</version>
</dependency>
```

Expand Down
12 changes: 6 additions & 6 deletions articles/azure-monitor/app/java-standalone-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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
{
Expand Down Expand Up @@ -336,7 +336,7 @@ Add `applicationinsights-core` to your application:
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>applicationinsights-core</artifactId>
<version>3.7.5</version>
<version>3.7.6</version>
</dependency>
```

Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions articles/azure-monitor/app/java-standalone-upgrade-from-2x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand All @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions articles/azure-monitor/app/opentelemetry-enable.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
>
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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
{
Expand Down