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
@@ -28,16 +28,16 @@ For more information, see [Use Application Insights Java In-Process Agent in Azu
28
28
29
29
### Docker entry point
30
30
31
-
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.15.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
31
+
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.16.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
In this example we have copied the `applicationinsights-agent-3.4.15.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.
62
+
In this example we have copied the `applicationinsights-agent-3.4.16.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.
63
63
64
64
### Third-party container images
65
65
@@ -81,18 +81,18 @@ The following sections show how to set the Application Insights Java agent path
81
81
If you installed Tomcat via `apt-get` or `yum`, you should have a file `/etc/tomcat8/tomcat8.conf`. Add this line to the end of that file:
If you installed Tomcat via download and unzip from [https://tomcat.apache.org](https://tomcat.apache.org), 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, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.15.jar` to `CATALINA_OPTS`.
95
+
If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.16.jar` to `CATALINA_OPTS`.
96
96
97
97
### Tomcat 8 (Windows)
98
98
@@ -101,35 +101,35 @@ If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-
101
101
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
102
102
103
103
```
104
-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.15.jar
104
+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.16.jar
105
105
```
106
106
107
107
Quotes aren't necessary, but if you want to include them, the proper placement is:
108
108
109
109
```
110
-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.15.jar"
110
+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.16.jar"
111
111
```
112
112
113
-
If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.15.jar` to `CATALINA_OPTS`.
113
+
If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.16.jar` to `CATALINA_OPTS`.
114
114
115
115
#### Run Tomcat as a Windows service
116
116
117
-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.4.15.jar` to the `Java Options` under the `Java` tab.
117
+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.4.16.jar` to the `Java Options` under the `Java` tab.
118
118
119
119
### JBoss EAP 7
120
120
121
121
#### Standalone server
122
122
123
-
Add `-javaagent:path/to/applicationinsights-agent-3.4.15.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):
123
+
Add `-javaagent:path/to/applicationinsights-agent-3.4.16.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):
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.15.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
24
+
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.16.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
@@ -31,14 +31,14 @@ More information and configuration options are provided in the following section
31
31
32
32
## Configuration file path
33
33
34
-
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.4.15.jar`.
34
+
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.4.16.jar`.
35
35
36
36
You can specify your own configuration file path by using one of these two options:
*`applicationinsights.configuration.file` Java system property
40
40
41
-
If you specify a relative path, it's resolved relative to the directory where `applicationinsights-agent-3.4.15.jar` is located.
41
+
If you specify a relative path, it's resolved relative to the directory where `applicationinsights-agent-3.4.16.jar` is located.
42
42
43
43
Alternatively, instead of using a configuration file, you can specify the entire _content_ of the JSON configuration via the environment variable `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT`.
44
44
@@ -61,7 +61,7 @@ Or you can set the connection string by using the Java system property `applicat
61
61
62
62
You can also set the connection string by specifying a file to load the connection string from.
63
63
64
-
If you specify a relative path, it's resolved relative to the directory where `applicationinsights-agent-3.4.15.jar` is located.
64
+
If you specify a relative path, it's resolved relative to the directory where `applicationinsights-agent-3.4.16.jar` is located.
65
65
66
66
```json
67
67
{
@@ -328,7 +328,7 @@ and add `applicationinsights-core` to your application:
328
328
<dependency>
329
329
<groupId>com.microsoft.azure</groupId>
330
330
<artifactId>applicationinsights-core</artifactId>
331
-
<version>3.4.15</version>
331
+
<version>3.4.16</version>
332
332
</dependency>
333
333
```
334
334
@@ -851,7 +851,7 @@ In the preceding configuration example:
851
851
852
852
*`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
853
853
*`path` can be an absolute or relative path. Relative paths are resolved against the directory where
854
-
`applicationinsights-agent-3.4.15.jar` is located.
854
+
`applicationinsights-agent-3.4.16.jar` is located.
855
855
856
856
Starting from version 3.0.2, you can also set the self-diagnostics `level` by using the environment variable
857
857
`APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL`. It then takes precedence over the self-diagnostics level specified in the JSON configuration.
Download the [applicationinsights-agent-3.4.15.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.15/applicationinsights-agent-3.4.15.jar) file.
90
+
Download the [applicationinsights-agent-3.4.16.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.16/applicationinsights-agent-3.4.16.jar) file.
91
91
92
92
> [!WARNING]
93
93
>
@@ -180,7 +180,7 @@ var loggerFactory = LoggerFactory.Create(builder =>
180
180
181
181
Java autoinstrumentation is enabled through configuration changes; no code changes are required.
182
182
183
-
Point the JVM to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.4.15.jar"` to your application's JVM args.
183
+
Point the JVM to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.4.16.jar"` to your application's JVM args.
184
184
185
185
> [!TIP]
186
186
> For scenario-specific guidance, see [Get Started (Supplemental)](./java-get-started-supplemental.md).
@@ -243,7 +243,7 @@ To paste your Connection String, select from the following options:
243
243
244
244
B. Set via Configuration File - Java Only (Recommended)
245
245
246
-
Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.4.15.jar` with the following content:
246
+
Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.4.16.jar` with the following content:
0 commit comments