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-get-started-supplemental.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Application Insights with containers
3
3
description: This article shows you how to set-up Application Insights
4
4
ms.topic: conceptual
5
-
ms.date: 04/06/2023
5
+
ms.date: 04/21/2023
6
6
ms.devlang: java
7
7
ms.custom: devx-track-java
8
8
ms.reviewer: mmcc
@@ -24,16 +24,16 @@ For more information, see [Monitoring Azure Functions with Azure Monitor Applica
24
24
25
25
### Docker entry point
26
26
27
-
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.11.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
27
+
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.12.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), 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.11.jar` to `CATALINA_OPTS`.
87
+
If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.12.jar` to `CATALINA_OPTS`.
88
88
89
89
### Tomcat 8 (Windows)
90
90
@@ -93,35 +93,35 @@ If the file `<tomcat>/bin/setenv.sh` already exists, modify that file and add `-
93
93
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
94
94
95
95
```
96
-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.11.jar
96
+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.12.jar
97
97
```
98
98
99
99
Quotes aren't necessary, but if you want to include them, the proper placement is:
100
100
101
101
```
102
-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.11.jar"
102
+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.4.12.jar"
103
103
```
104
104
105
-
If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.11.jar` to `CATALINA_OPTS`.
105
+
If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `-javaagent:path/to/applicationinsights-agent-3.4.12.jar` to `CATALINA_OPTS`.
106
106
107
107
#### Run Tomcat as a Windows service
108
108
109
-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.4.11.jar` to the `Java Options` under the `Java` tab.
109
+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.4.12.jar` to the `Java Options` under the `Java` tab.
110
110
111
111
### JBoss EAP 7
112
112
113
113
#### Standalone server
114
114
115
-
Add `-javaagent:path/to/applicationinsights-agent-3.4.11.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):
115
+
Add `-javaagent:path/to/applicationinsights-agent-3.4.12.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.11.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.12.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/java-standalone-config.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Configuration options - Azure Monitor Application Insights for Java
3
3
description: This article shows you how to configure Azure Monitor Application Insights for Java.
4
4
ms.topic: conceptual
5
-
ms.date: 03/31/2023
5
+
ms.date: 04/21/2023
6
6
ms.devlang: java
7
7
ms.custom: devx-track-java
8
8
ms.reviewer: mmcc
@@ -31,14 +31,14 @@ You'll find more information and configuration options in the following sections
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.11.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.12.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 will be resolved relative to the directory where `applicationinsights-agent-3.4.11.jar` is located.
41
+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.4.12.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.11.jar` is located.
64
+
If you specify a relative path, it's resolved relative to the directory where `applicationinsights-agent-3.4.12.jar` is located.
65
65
66
66
```json
67
67
{
@@ -340,7 +340,7 @@ and add `applicationinsights-core` to your application:
340
340
<dependency>
341
341
<groupId>com.microsoft.azure</groupId>
342
342
<artifactId>applicationinsights-core</artifactId>
343
-
<version>3.4.11</version>
343
+
<version>3.4.12</version>
344
344
</dependency>
345
345
```
346
346
@@ -812,7 +812,7 @@ In the preceding configuration example:
812
812
813
813
*`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
814
814
*`path` can be an absolute or relative path. Relative paths are resolved against the directory where
815
-
`applicationinsights-agent-3.4.11.jar` is located.
815
+
`applicationinsights-agent-3.4.12.jar` is located.
816
816
817
817
Starting from version 3.0.2, you can also set the self-diagnostics `level` by using the environment variable
818
818
`APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL`. It then takes precedence over the self-diagnostics level specified in the JSON configuration.
Download the [applicationinsights-agent-3.4.11.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.11/applicationinsights-agent-3.4.11.jar) file.
82
+
Download the [applicationinsights-agent-3.4.12.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.4.12/applicationinsights-agent-3.4.12.jar) file.
83
83
84
84
> [!WARNING]
85
85
>
@@ -181,7 +181,7 @@ public class Program
181
181
182
182
Java auto-instrumentation is enabled through configuration changes; no code changes are required.
183
183
184
-
Point the JVM to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.4.11.jar"` to your application's JVM args.
184
+
Point the JVM to the jar file by adding `-javaagent:"path/to/applicationinsights-agent-3.4.12.jar"` to your application's JVM args.
185
185
186
186
> [!TIP]
187
187
> For scenario-specific guidance, see [Get Started (Supplemental)](./java-get-started-supplemental.md).
@@ -301,7 +301,7 @@ Use one of the following two ways to point the jar file to your Application Insi
- Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.4.11.jar` with the following content:
304
+
- Create a configuration file named `applicationinsights.json`, and place it in the same directory as `applicationinsights-agent-3.4.12.jar` with the following content:
305
305
306
306
```json
307
307
{
@@ -1454,7 +1454,7 @@ This is not available in .NET.
0 commit comments