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
@@ -25,7 +25,7 @@ Java auto-instrumentation can be enabled without any code changes.
25
25
26
26
#### 1. Download jar file
27
27
28
-
Download the [applicationinsights-agent-3.2.0.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.0/applicationinsights-agent-3.2.0.jar) file.
28
+
Download the [applicationinsights-agent-3.2.1.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.1/applicationinsights-agent-3.2.1.jar) file.
29
29
30
30
> [!WARNING]
31
31
>
@@ -47,7 +47,7 @@ Download the [applicationinsights-agent-3.2.0.jar](https://github.com/microsoft/
47
47
48
48
#### 2. Point the JVM to the jar file
49
49
50
-
Add `-javaagent:path/to/applicationinsights-agent-3.2.0.jar` to your application's JVM args.
50
+
Add `-javaagent:path/to/applicationinsights-agent-3.2.1.jar` to your application's JVM args.
51
51
52
52
> [!TIP]
53
53
> For help with configuring your application's JVM args, see [Tips for updating your JVM args](./java-standalone-arguments.md).
@@ -60,7 +60,7 @@ Point the jar file to your Application Insights resource, either by setting an e
Or by creating a configuration file named `applicationinsights.json`, and placing it in the same directory as `applicationinsights-agent-3.2.0.jar`, with the following content:
63
+
Or by creating a configuration file named `applicationinsights.json`, and placing it in the same directory as `applicationinsights-agent-3.2.1.jar`, with the following content:
If you are using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.0.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
27
+
If you are using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.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.2.0.jar` to `CATALINA_OPTS`.
57
+
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.1.jar` to `CATALINA_OPTS`.
58
58
59
59
60
60
## Tomcat 8 (Windows)
@@ -64,36 +64,36 @@ If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and a
64
64
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
65
65
66
66
```
67
-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.0.jar
67
+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.1.jar
68
68
```
69
69
70
70
Quotes are not necessary, but if you want to include them, the proper placement is:
71
71
72
72
```
73
-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.0.jar"
73
+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.1.jar"
74
74
```
75
75
76
-
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.0.jar` to `CATALINA_OPTS`.
76
+
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.1.jar` to `CATALINA_OPTS`.
77
77
78
78
### Running Tomcat as a Windows service
79
79
80
-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.0.jar` to the `Java Options` under the `Java` tab.
80
+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.1.jar` to the `Java Options` under the `Java` tab.
81
81
82
82
83
83
## JBoss EAP 7
84
84
85
85
### Standalone server
86
86
87
-
Add `-javaagent:path/to/applicationinsights-agent-3.2.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):
87
+
Add `-javaagent:path/to/applicationinsights-agent-3.2.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
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,14 +36,14 @@ You will find more details and additional configuration options below.
36
36
37
37
## Configuration file path
38
38
39
-
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.0.jar`.
39
+
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.1.jar`.
40
40
41
41
You can specify your own configuration file path using either
42
42
43
43
*`APPLICATIONINSIGHTS_CONFIGURATION_FILE` environment variable, or
44
44
*`applicationinsights.configuration.file` Java system property
45
45
46
-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.0.jar` is located.
46
+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.1.jar` is located.
47
47
48
48
## Connection string
49
49
@@ -363,11 +363,16 @@ Starting from version 3.2.0, the following preview instrumentations can be enabl
363
363
},
364
364
"springIntegration": {
365
365
"enabled": true
366
-
}
366
+
},
367
+
"akka": {
368
+
"enabled": true
369
+
},
367
370
}
368
371
}
369
372
}
370
373
```
374
+
> [!NOTE]
375
+
> Akka instrumentation is available starting from version 3.2.1
371
376
372
377
## Heartbeat
373
378
@@ -479,7 +484,7 @@ and the console, corresponding to this configuration:
479
484
`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
480
485
481
486
`path` can be an absolute or relative path. Relative paths are resolved against the directory where
482
-
`applicationinsights-agent-3.2.0.jar` is located.
487
+
`applicationinsights-agent-3.2.1.jar` is located.
483
488
484
489
`maxSizeMb` is the max size of the log file before it rolls over.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/java-standalone-troubleshoot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ In this article, we cover some of the common issues that you might face while in
11
11
12
12
## Check the self-diagnostic log file
13
13
14
-
By default, Application Insights Java 3.x produces a log file named `applicationinsights.log` in the same directory that holds the `applicationinsights-agent-3.2.0.jar` file.
14
+
By default, Application Insights Java 3.x produces a log file named `applicationinsights.log` in the same directory that holds the `applicationinsights-agent-3.2.1.jar` file.
15
15
16
16
This log file is the first place to check for hints to any issues you might be experiencing.
0 commit comments