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
@@ -31,16 +31,16 @@ For more information, see [Use Application Insights Java In-Process Agent in Azu
31
31
32
32
### Docker entry point
33
33
34
-
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.5.3.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
34
+
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.5.4.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.5.3.jar"` somewhere before `-jar`, for example:
40
+
If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.5.4.jar"` somewhere before `-jar`, for example:
In this example, you copy the `applicationinsights-agent-3.5.3.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.
65
+
In this example, you copy the `applicationinsights-agent-3.5.4.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.
66
66
67
67
### Partner container images
68
68
@@ -84,18 +84,18 @@ For information on setting up the Application Insights Java agent, see [Enabling
84
84
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.5.3.jar` to `CATALINA_OPTS`.
98
+
If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.5.4.jar` to `CATALINA_OPTS`.
99
99
100
100
### Tomcat 8 (Windows)
101
101
@@ -104,37 +104,37 @@ If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-
104
104
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
105
105
106
106
```console
107
-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.5.3.jar
107
+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.5.4.jar
108
108
```
109
109
110
110
Quotes aren't necessary, but if you want to include them, the proper placement is:
111
111
112
112
```console
113
-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.5.3.jar"
113
+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.5.4.jar"
114
114
```
115
115
116
-
If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.5.3.jar` to `CATALINA_OPTS`.
116
+
If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.5.4.jar` to `CATALINA_OPTS`.
117
117
118
118
#### Run Tomcat as a Windows service
119
119
120
-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.5.3.jar` to the `Java Options` under the `Java` tab.
120
+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.5.4.jar` to the `Java Options` under the `Java` tab.
121
121
122
122
### JBoss Enterprise Application Platform 7
123
123
124
124
In Red Hat JBoss Enterprise Application Platform (EAP) 7, you can set up a standalone server or a domain server.
125
125
126
126
#### Standalone server
127
127
128
-
Add `-javaagent:path/to/applicationinsights-agent-3.5.3.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):
128
+
Add `-javaagent:path/to/applicationinsights-agent-3.5.4.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):
@@ -30,14 +30,14 @@ More information and configuration options are provided in the following section
30
30
31
31
## Configuration file path
32
32
33
-
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.5.3.jar`.
33
+
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.5.4.jar`.
34
34
35
35
You can specify your own configuration file path by using one of these two options:
*`applicationinsights.configuration.file` Java system property
39
39
40
-
If you specify a relative path, it resolves relative to the directory where `applicationinsights-agent-3.5.3.jar` is located.
40
+
If you specify a relative path, it resolves relative to the directory where `applicationinsights-agent-3.5.4.jar` is located.
41
41
42
42
Alternatively, instead of using a configuration file, you can specify the entire _content_ of the JSON configuration via the environment variable `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT`.
43
43
@@ -60,7 +60,7 @@ Or you can set the connection string by using the Java system property `applicat
60
60
61
61
You can also set the connection string by specifying a file to load the connection string from.
62
62
63
-
If you specify a relative path, it resolves relative to the directory where `applicationinsights-agent-3.5.3.jar` is located.
63
+
If you specify a relative path, it resolves relative to the directory where `applicationinsights-agent-3.5.4.jar` is located.
64
64
65
65
```json
66
66
{
@@ -326,7 +326,7 @@ Add `applicationinsights-core` to your application:
326
326
<dependency>
327
327
<groupId>com.microsoft.azure</groupId>
328
328
<artifactId>applicationinsights-core</artifactId>
329
-
<version>3.5.3</version>
329
+
<version>3.5.4</version>
330
330
</dependency>
331
331
```
332
332
@@ -902,7 +902,7 @@ In the preceding configuration example:
902
902
903
903
*`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
904
904
*`path` can be an absolute or relative path. Relative paths are resolved against the directory where
905
-
`applicationinsights-agent-3.5.3.jar` is located.
905
+
`applicationinsights-agent-3.5.4.jar` is located.
906
906
907
907
Starting from version 3.0.2, you can also set the self-diagnostics `level` by using the environment variable
908
908
`APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL`. It then takes precedence over the self-diagnostics level specified in the JSON configuration.
Download the [applicationinsights-agent-3.5.3.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.5.3/applicationinsights-agent-3.5.3.jar) file.
100
+
Download the [applicationinsights-agent-3.5.4.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.5.4/applicationinsights-agent-3.5.4.jar) file.
101
101
102
102
> [!WARNING]
103
103
>
@@ -217,7 +217,7 @@ var loggerFactory = LoggerFactory.Create(builder =>
217
217
218
218
Java autoinstrumentation is enabled through configuration changes; no code changes are required.
219
219
220
-
Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.5.3.jar"` to your application's JVM args.
220
+
Point the Java virtual machine (JVM) to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.5.4.jar"` to your application's JVM args.
221
221
222
222
> [!TIP]
223
223
> 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).
@@ -287,7 +287,7 @@ To paste your Connection String, select from the following options:
287
287
288
288
B. Set via Configuration File - Java Only (Recommended)
289
289
290
-
Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.5.3.jar` with the following content:
290
+
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:
0 commit comments