Skip to content

Commit 827cf00

Browse files
authored
Merge pull request #202374 from heyams/heya/release-3.3.0-ga
Prepare for 3.3.0 GA release
2 parents d7552b9 + 3bdd3ed commit 827cf00

File tree

4 files changed

+37
-37
lines changed

4 files changed

+37
-37
lines changed

articles/azure-monitor/app/java-in-process-agent.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ This section shows you how to download the auto-instrumentation jar file.
2929

3030
#### Download the jar file
3131

32-
Download the [applicationinsights-agent-3.2.11.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.11/applicationinsights-agent-3.2.11.jar) file.
32+
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.
3333

3434
> [!WARNING]
3535
>
36-
> If you're upgrading from 3.2.x to 3.3.0-BETA:
36+
> If you're upgrading from 3.2.x to 3.3.0:
3737
>
38-
> - Starting from 3.3.0-BETA, `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)
38+
> - 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)
3939
>
4040
> If you're upgrading from 3.1.x:
4141
>
@@ -54,7 +54,7 @@ Download the [applicationinsights-agent-3.2.11.jar](https://github.com/microsoft
5454

5555
#### Point the JVM to the jar file
5656

57-
Add `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` to your application's JVM args.
57+
Add `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` to your application's JVM args.
5858

5959
> [!TIP]
6060
> For help with configuring your application's JVM args, see [Tips for updating your JVM args](./java-standalone-arguments.md).
@@ -69,7 +69,7 @@ Add `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` to your applicatio
6969
APPLICATIONINSIGHTS_CONNECTION_STRING = <Copy connection string from Application Insights Resource Overview>
7070
```
7171

72-
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.2.11.jar` with the following content:
72+
- 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:
7373

7474
```json
7575
{

articles/azure-monitor/app/java-standalone-arguments.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ Configure [App Services](../../app-service/configure-language-java.md#set-java-r
1616

1717
## Spring Boot
1818

19-
Add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` somewhere before `-jar`, for example:
19+
Add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` somewhere before `-jar`, for example:
2020

2121
```
22-
java -javaagent:path/to/applicationinsights-agent-3.2.11.jar -jar <myapp.jar>
22+
java -javaagent:path/to/applicationinsights-agent-3.3.0.jar -jar <myapp.jar>
2323
```
2424

2525
## Spring Boot via Docker entry point
2626

27-
If you're using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.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.3.0.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
2828

2929
```
30-
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.2.11.jar", "-jar", "<myapp.jar>"]
30+
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.3.0.jar", "-jar", "<myapp.jar>"]
3131
```
3232

33-
If you're using the *shell* form, add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` somewhere before `-jar`, for example:
33+
If you're using the *shell* form, add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` somewhere before `-jar`, for example:
3434

3535
```
36-
ENTRYPOINT java -javaagent:path/to/applicationinsights-agent-3.2.11.jar -jar <myapp.jar>
36+
ENTRYPOINT java -javaagent:path/to/applicationinsights-agent-3.3.0.jar -jar <myapp.jar>
3737
```
3838

3939
## Tomcat 8 (Linux)
@@ -43,18 +43,18 @@ ENTRYPOINT java -javaagent:path/to/applicationinsights-agent-3.2.11.jar -jar <my
4343
If you installed Tomcat via `apt-get` or `yum`, then you should have a file `/etc/tomcat8/tomcat8.conf`. Add this line to the end of that file:
4444

4545
```
46-
JAVA_OPTS="$JAVA_OPTS -javaagent:path/to/applicationinsights-agent-3.2.11.jar"
46+
JAVA_OPTS="$JAVA_OPTS -javaagent:path/to/applicationinsights-agent-3.3.0.jar"
4747
```
4848

4949
### Tomcat installed via download and unzip
5050

5151
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:
5252

5353
```
54-
CATALINA_OPTS="$CATALINA_OPTS -javaagent:path/to/applicationinsights-agent-3.2.11.jar"
54+
CATALINA_OPTS="$CATALINA_OPTS -javaagent:path/to/applicationinsights-agent-3.3.0.jar"
5555
```
5656

57-
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.11.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.3.0.jar` to `CATALINA_OPTS`.
5858

5959

6060
## Tomcat 8 (Windows)
@@ -64,36 +64,36 @@ If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and a
6464
Locate the file `<tomcat>/bin/catalina.bat`. Create a new file in the same directory named `<tomcat>/bin/setenv.bat` with the following content:
6565

6666
```
67-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.11.jar
67+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.3.0.jar
6868
```
6969

7070
Quotes aren't necessary, but if you want to include them, the proper placement is:
7171

7272
```
73-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.11.jar"
73+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.3.0.jar"
7474
```
7575

76-
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.11.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.3.0.jar` to `CATALINA_OPTS`.
7777

7878
### Running Tomcat as a Windows service
7979

80-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.11.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.3.0.jar` to the `Java Options` under the `Java` tab.
8181

8282

8383
## JBoss EAP 7
8484

8585
### Standalone server
8686

87-
Add `-javaagent:path/to/applicationinsights-agent-3.2.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):
87+
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):
8888

8989
```java ...
90-
JAVA_OPTS="-javaagent:path/to/applicationinsights-agent-3.2.11.jar -Xms1303m -Xmx1303m ..."
90+
JAVA_OPTS="-javaagent:path/to/applicationinsights-agent-3.3.0.jar -Xms1303m -Xmx1303m ..."
9191
...
9292
```
9393

9494
### Domain server
9595

96-
Add `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` to the existing `jvm-options` in `JBOSS_HOME/domain/configuration/host.xml`:
96+
Add `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` to the existing `jvm-options` in `JBOSS_HOME/domain/configuration/host.xml`:
9797

9898
```xml
9999
...
@@ -103,7 +103,7 @@ Add `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` to the existing `j
103103
<jvm-options>
104104
<option value="-server"/>
105105
<!--Add Java agent jar file here-->
106-
<option value="-javaagent:path/to/applicationinsights-agent-3.2.11.jar"/>
106+
<option value="-javaagent:path/to/applicationinsights-agent-3.3.0.jar"/>
107107
<option value="-XX:MetaspaceSize=96m"/>
108108
<option value="-XX:MaxMetaspaceSize=256m"/>
109109
</jvm-options>
@@ -143,20 +143,20 @@ Add these lines to `start.ini`
143143

144144
```
145145
--exec
146-
-javaagent:path/to/applicationinsights-agent-3.2.11.jar
146+
-javaagent:path/to/applicationinsights-agent-3.3.0.jar
147147
```
148148

149149

150150
## Payara 5
151151

152-
Add `-javaagent:path/to/applicationinsights-agent-3.2.11.jar` to the existing `jvm-options` in `glassfish/domains/domain1/config/domain.xml`:
152+
Add `-javaagent:path/to/applicationinsights-agent-3.3.0.jar` to the existing `jvm-options` in `glassfish/domains/domain1/config/domain.xml`:
153153

154154
```xml
155155
...
156156
<java-config ...>
157157
<!--Edit the JVM options here-->
158158
<jvm-options>
159-
-javaagent:path/to/applicationinsights-agent-3.2.11.jar>
159+
-javaagent:path/to/applicationinsights-agent-3.3.0.jar>
160160
</jvm-options>
161161
...
162162
</java-config>
@@ -173,7 +173,7 @@ Java and Process Management > Process definition > Java Virtual Machine
173173
```
174174
In "Generic JVM arguments" add the following:
175175
```
176-
-javaagent:path/to/applicationinsights-agent-3.2.11.jar
176+
-javaagent:path/to/applicationinsights-agent-3.3.0.jar
177177
```
178178
After that, save and restart the application server.
179179

@@ -182,7 +182,7 @@ After that, save and restart the application server.
182182

183183
Create a new file `jvm.options` in the server directory (for example `<openliberty>/usr/servers/defaultServer`), and add this line:
184184
```
185-
-javaagent:path/to/applicationinsights-agent-3.2.11.jar
185+
-javaagent:path/to/applicationinsights-agent-3.3.0.jar
186186
```
187187

188188
## Others

articles/azure-monitor/app/java-standalone-config.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ You will find more details and additional configuration options below.
3838

3939
## Configuration file path
4040

41-
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.11.jar`.
41+
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`.
4242

4343
You can specify your own configuration file path using either
4444

4545
* `APPLICATIONINSIGHTS_CONFIGURATION_FILE` environment variable, or
4646
* `applicationinsights.configuration.file` Java system property
4747

48-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.11.jar` is located.
48+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.3.0.jar` is located.
4949

5050
Alternatively, instead of using a configuration file, you can specify the entire _content_ of the json configuration
5151
via the environment variable `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT`.
@@ -68,7 +68,7 @@ You can also set the connection string using the environment variable `APPLICATI
6868

6969
You can also set the connection string by specifying a file to load the connection string from.
7070

71-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.11.jar` is located.
71+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.3.0.jar` is located.
7272

7373
```json
7474
{
@@ -319,7 +319,7 @@ These are the valid `level` values that you can specify in the `applicationinsig
319319
320320
### LoggingLevel
321321

322-
Starting from version 3.3.0-BETA, `LoggingLevel` is not captured by default as part of Traces' custom dimension since that data is aleady captured in the `SeverityLevel` field.
322+
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.
323323

324324
If needed, you can re-enable the previous behavior:
325325

@@ -359,7 +359,7 @@ To disable auto-collection of Micrometer metrics (including Spring Boot Actuator
359359

360360
## HTTP headers
361361

362-
Starting from 3.2.11, you can capture request and response headers on your server (request) telemetry:
362+
Starting from 3.3.0, you can capture request and response headers on your server (request) telemetry:
363363

364364
```json
365365
{
@@ -405,7 +405,7 @@ Again, the header names are case-insensitive, and the examples above will be cap
405405

406406
By default, http server requests that result in 4xx response codes are captured as errors.
407407

408-
Starting from version 3.2.11, you can change this behavior to capture them as success if you prefer:
408+
Starting from version 3.3.0, you can change this behavior to capture them as success if you prefer:
409409

410410
```json
411411
{
@@ -507,7 +507,7 @@ Starting from version 3.2.0, the following preview instrumentations can be enabl
507507
```
508508
> [!NOTE]
509509
> Akka instrumentation is available starting from version 3.2.2
510-
> Vertx HTTP Library instrumentation is available starting from version 3.2.11
510+
> Vertx HTTP Library instrumentation is available starting from version 3.3.0
511511
512512
## Metric interval
513513

@@ -602,7 +602,7 @@ and the console, corresponding to this configuration:
602602
`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
603603

604604
`path` can be an absolute or relative path. Relative paths are resolved against the directory where
605-
`applicationinsights-agent-3.2.11.jar` is located.
605+
`applicationinsights-agent-3.3.0.jar` is located.
606606

607607
`maxSizeMb` is the max size of the log file before it rolls over.
608608

articles/azure-monitor/app/java-standalone-troubleshoot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ In this article, we cover some of the common issues that you might face while in
1414
## Check the self-diagnostic log file
1515

1616
By default, Application Insights Java 3.x produces a log file named `applicationinsights.log` in the same directory
17-
that holds the `applicationinsights-agent-3.2.11.jar` file.
17+
that holds the `applicationinsights-agent-3.3.0.jar` file.
1818

1919
This log file is the first place to check for hints to any issues you might be experiencing.
2020

2121
If no log file is generated, check that your Java application has write permission to the directory that holds the
22-
`applicationinsights-agent-3.2.11.jar` file.
22+
`applicationinsights-agent-3.3.0.jar` file.
2323

2424
If still no log file is generated, check the stdout log from your Java application. Application Insights Java 3.x
2525
should log any errors to stdout that would prevent it from logging to its normal location.

0 commit comments

Comments
 (0)