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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ This section shows you how to download the auto-instrumentation jar file.
30
30
31
31
#### Download the jar file
32
32
33
-
Download the [applicationinsights-agent-3.3.0.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.3.0/applicationinsights-agent-3.3.0.jar) file.
33
+
Download the [applicationinsights-agent-3.3.1.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.3.1/applicationinsights-agent-3.3.1.jar) file.
34
34
35
35
> [!WARNING]
36
36
>
37
-
> If you're upgrading from 3.2.x to 3.3.0:
37
+
> If you're upgrading from 3.2.x to 3.3.1:
38
38
>
39
-
> - Starting from 3.3.0, `LoggingLevel` is not captured by default as part of Traces' custom dimension since that data is already captured in the `SeverityLevel` field. For details on how to re-enable this if needed, please see the [config options](./java-standalone-config.md#logginglevel)
39
+
> - Starting from 3.3.1, `LoggingLevel` is not captured by default as part of Traces' custom dimension since that data is already captured in the `SeverityLevel` field. For details on how to re-enable this if needed, please see the [config options](./java-standalone-config.md#logginglevel)
40
40
> - Exception records are no longer recorded for failed dependencies, they are only recorded for failed requests.
41
41
>
42
42
> If you're upgrading from 3.1.x:
@@ -56,7 +56,7 @@ Download the [applicationinsights-agent-3.3.0.jar](https://github.com/microsoft/
56
56
57
57
#### Point the JVM to the jar file
58
58
59
-
Add `-javaagent:"path/to/applicationinsights-agent-3.3.0.jar"` to your application's JVM args.
59
+
Add `-javaagent:"path/to/applicationinsights-agent-3.3.1.jar"` to your application's JVM args.
60
60
61
61
> [!TIP]
62
62
> For help with configuring your application's JVM args, see [Tips for updating your JVM args](./java-standalone-arguments.md).
@@ -74,7 +74,7 @@ Add `-javaagent:"path/to/applicationinsights-agent-3.3.0.jar"` to your applicati
74
74
APPLICATIONINSIGHTS_CONNECTION_STRING = <Copy connection string from Application Insights Resource Overview>
75
75
```
76
76
77
-
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.3.0.jar` with the following content:
77
+
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.3.1.jar` with the following content:
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.3.0.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.3.1.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.3.0.jar` to `CATALINA_OPTS`.
39
+
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.3.1.jar` to `CATALINA_OPTS`.
40
40
41
41
42
42
## Tomcat 8 (Windows)
@@ -46,36 +46,36 @@ If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and a
46
46
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
47
47
48
48
```
49
-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.3.0.jar
49
+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.3.1.jar
50
50
```
51
51
52
52
Quotes aren't necessary, but if you want to include them, the proper placement is:
53
53
54
54
```
55
-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.3.0.jar"
55
+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.3.1.jar"
56
56
```
57
57
58
-
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` to `CATALINA_OPTS`.
58
+
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.3.1.jar` to `CATALINA_OPTS`.
59
59
60
60
### Running Tomcat as a Windows service
61
61
62
-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` to the `Java Options` under the `Java` tab.
62
+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.3.1.jar` to the `Java Options` under the `Java` tab.
63
63
64
64
65
65
## JBoss EAP 7
66
66
67
67
### Standalone server
68
68
69
-
Add `-javaagent:path/to/applicationinsights-agent-3.3.0.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):
69
+
Add `-javaagent:path/to/applicationinsights-agent-3.3.1.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
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,14 +32,14 @@ You will find more details and additional configuration options below.
32
32
33
33
## Configuration file path
34
34
35
-
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.3.0.jar`.
35
+
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.3.1.jar`.
36
36
37
37
You can specify your own configuration file path using either
38
38
39
39
*`APPLICATIONINSIGHTS_CONFIGURATION_FILE` environment variable, or
40
40
*`applicationinsights.configuration.file` Java system property
41
41
42
-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.3.0.jar` is located.
42
+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.3.1.jar` is located.
43
43
44
44
Alternatively, instead of using a configuration file, you can specify the entire _content_ of the json configuration
45
45
via the environment variable `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT`.
@@ -62,7 +62,7 @@ You can also set the connection string using the environment variable `APPLICATI
62
62
63
63
You can also set the connection string by specifying a file to load the connection string from.
64
64
65
-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.3.0.jar` is located.
65
+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.3.1.jar` is located.
66
66
67
67
```json
68
68
{
@@ -247,7 +247,7 @@ Instrumentation key overrides allow you to override the [default instrumentation
247
247
248
248
## Cloud role name overrides (preview)
249
249
250
-
This feature is in preview, starting from 3.3.0.
250
+
This feature is in preview, starting from 3.3.1.
251
251
252
252
Cloud role name overrides allow you to override the [default cloud role name](#cloud-role-name), for example:
253
253
* Set one cloud role name for one http path prefix `/myapp1`.
@@ -344,7 +344,7 @@ These are the valid `level` values that you can specify in the `applicationinsig
344
344
345
345
### LoggingLevel
346
346
347
-
Starting from version 3.3.0, `LoggingLevel` is not captured by default as part of Traces' custom dimension since that data is aleady captured in the `SeverityLevel` field.
347
+
Starting from version 3.3.1, `LoggingLevel` is not captured by default as part of Traces' custom dimension since that data is aleady captured in the `SeverityLevel` field.
348
348
349
349
If needed, you can re-enable the previous behavior:
350
350
@@ -384,7 +384,7 @@ To disable auto-collection of Micrometer metrics (including Spring Boot Actuator
384
384
385
385
## HTTP headers
386
386
387
-
Starting from version 3.3.0, you can capture request and response headers on your server (request) telemetry:
387
+
Starting from version 3.3.1, you can capture request and response headers on your server (request) telemetry:
388
388
389
389
```json
390
390
{
@@ -430,7 +430,7 @@ Again, the header names are case-insensitive, and the examples above will be cap
430
430
431
431
By default, http server requests that result in 4xx response codes are captured as errors.
432
432
433
-
Starting from version 3.3.0, you can change this behavior to capture them as success if you prefer:
433
+
Starting from version 3.3.1, you can change this behavior to capture them as success if you prefer:
434
434
435
435
```json
436
436
{
@@ -532,7 +532,7 @@ Starting from version 3.2.0, the following preview instrumentations can be enabl
532
532
```
533
533
> [!NOTE]
534
534
> Akka instrumentation is available starting from version 3.2.2
535
-
> Vertx HTTP Library instrumentation is available starting from version 3.3.0
535
+
> Vertx HTTP Library instrumentation is available starting from version 3.3.1
536
536
537
537
## Metric interval
538
538
@@ -605,7 +605,7 @@ When sending telemetry to the Application Insights service fails, Application In
605
605
to disk and continue retrying from disk.
606
606
607
607
The default limit for disk persistence is 50 Mb. If you have high telemetry volume, or need to be able to recover from
608
-
longer network or ingestion service outages, you can increase this limit starting from version 3.3.0:
608
+
longer network or ingestion service outages, you can increase this limit starting from version 3.3.1:
609
609
610
610
```json
611
611
{
@@ -643,7 +643,7 @@ and the console, corresponding to this configuration:
643
643
`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
644
644
645
645
`path` can be an absolute or relative path. Relative paths are resolved against the directory where
646
-
`applicationinsights-agent-3.3.0.jar` is located.
646
+
`applicationinsights-agent-3.3.1.jar` is located.
647
647
648
648
`maxSizeMb` is the max size of the log file before it rolls over.
0 commit comments