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/java-in-process-agent.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ This section shows you how to download the auto-instrumentation jar file.
27
27
28
28
#### Download the jar file
29
29
30
-
Download the [applicationinsights-agent-3.2.6.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.6/applicationinsights-agent-3.2.6.jar) file.
30
+
Download the [applicationinsights-agent-3.2.7.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.7/applicationinsights-agent-3.2.7.jar) file.
31
31
32
32
> [!WARNING]
33
33
>
@@ -49,7 +49,7 @@ Download the [applicationinsights-agent-3.2.6.jar](https://github.com/microsoft/
49
49
50
50
#### Point the JVM to the jar file
51
51
52
-
Add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to your application's JVM args.
52
+
Add `-javaagent:path/to/applicationinsights-agent-3.2.7.jar` to your application's JVM args.
53
53
54
54
> [!TIP]
55
55
> For help with configuring your application's JVM args, see [Tips for updating your JVM args](./java-standalone-arguments.md).
@@ -64,7 +64,7 @@ Add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to your application
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.2.6.jar` with the following content:
67
+
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.2.7.jar` with the following content:
If you are using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.6.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
26
+
If you're using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.7.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
If you installed Tomcat via download and unzip from [https://tomcat.apache.org](https://tomcat.apache.org), then you should have a file `<tomcat>/bin/catalina.sh`. Create a new file in the same directory named `<tomcat>/bin/setenv.sh` with the following content:
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to `CATALINA_OPTS`.
56
+
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.7.jar` to `CATALINA_OPTS`.
57
57
58
58
59
59
## Tomcat 8 (Windows)
@@ -63,36 +63,36 @@ If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and a
63
63
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
64
64
65
65
```
66
-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.6.jar
66
+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.7.jar
67
67
```
68
68
69
-
Quotes are not necessary, but if you want to include them, the proper placement is:
69
+
Quotes aren't necessary, but if you want to include them, the proper placement is:
70
70
71
71
```
72
-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.6.jar"
72
+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.7.jar"
73
73
```
74
74
75
-
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to `CATALINA_OPTS`.
75
+
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.7.jar` to `CATALINA_OPTS`.
76
76
77
77
### Running Tomcat as a Windows service
78
78
79
-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to the `Java Options` under the `Java` tab.
79
+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.7.jar` to the `Java Options` under the `Java` tab.
80
80
81
81
82
82
## JBoss EAP 7
83
83
84
84
### Standalone server
85
85
86
-
Add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to the existing `JAVA_OPTS` environment variable in the file `JBOSS_HOME/bin/standalone.conf` (Linux) or `JBOSS_HOME/bin/standalone.conf.bat` (Windows):
86
+
Add `-javaagent:path/to/applicationinsights-agent-3.2.7.jar` to the existing `JAVA_OPTS` environment variable in the file `JBOSS_HOME/bin/standalone.conf` (Linux) or `JBOSS_HOME/bin/standalone.conf.bat` (Windows):
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/java-standalone-config.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,14 @@ You will find more details and additional configuration options below.
35
35
36
36
## Configuration file path
37
37
38
-
By default, Application Insights Java 3.x expects the configuration file to be named `applicationinsights.json`, and to be located in the same directory as `applicationinsights-agent-3.2.6.jar`.
38
+
By default, Application Insights Java 3.x expects the configuration file to be named `applicationinsights.json`, and to be located in the same directory as `applicationinsights-agent-3.2.7.jar`.
39
39
40
40
You can specify your own configuration file path using either
41
41
42
42
*`APPLICATIONINSIGHTS_CONFIGURATION_FILE` environment variable, or
43
43
*`applicationinsights.configuration.file` Java system property
44
44
45
-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.6.jar` is located.
45
+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.7.jar` is located.
46
46
47
47
Alternatively, instead of using a configuration file, you can specify the entire _content_ of the json configuration
48
48
via the environment variable `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT`.
@@ -65,7 +65,7 @@ You can also set the connection string using the environment variable `APPLICATI
65
65
66
66
You can also set the connection string by specifying a file to load the connection string from.
67
67
68
-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.6.jar` is located.
68
+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.7.jar` is located.
69
69
70
70
```json
71
71
{
@@ -340,7 +340,7 @@ To disable auto-collection of Micrometer metrics (including Spring Boot Actuator
340
340
341
341
## HTTP headers
342
342
343
-
Starting from 3.2.6, you can capture request and response headers on your server (request) telemetry:
343
+
Starting from 3.2.7, you can capture request and response headers on your server (request) telemetry:
344
344
345
345
```json
346
346
{
@@ -386,7 +386,7 @@ Again, the header names are case-insensitive, and the examples above will be cap
386
386
387
387
By default, http server requests that result in 4xx response codes are captured as errors.
388
388
389
-
Starting from version 3.2.6, you can change this behavior to capture them as success if you prefer:
389
+
Starting from version 3.2.7, you can change this behavior to capture them as success if you prefer:
390
390
391
391
```json
392
392
{
@@ -488,7 +488,7 @@ Starting from version 3.2.0, the following preview instrumentations can be enabl
488
488
```
489
489
> [!NOTE]
490
490
> Akka instrumentation is available starting from version 3.2.2
491
-
> Vertx HTTP Library instrumentation is available starting from version 3.2.6
491
+
> Vertx HTTP Library instrumentation is available starting from version 3.2.7
492
492
493
493
## Metric interval
494
494
@@ -583,7 +583,7 @@ and the console, corresponding to this configuration:
583
583
`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
584
584
585
585
`path` can be an absolute or relative path. Relative paths are resolved against the directory where
586
-
`applicationinsights-agent-3.2.6.jar` is located.
586
+
`applicationinsights-agent-3.2.7.jar` is located.
587
587
588
588
`maxSizeMb` is the max size of the log file before it rolls over.
0 commit comments