Skip to content

Commit 5791af0

Browse files
authored
Merge pull request #187423 from heyams/heya/update-statsbeat
Update eu regions and ampl
2 parents 24c0115 + 9212ae1 commit 5791af0

File tree

4 files changed

+77
-32
lines changed

4 files changed

+77
-32
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ 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.5.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.5/applicationinsights-agent-3.2.5.jar) file.
32+
Download the [applicationinsights-agent-3.2.6.jar](https://github.com/microsoft/ApplicationInsights-Java/releases/download/3.2.6/applicationinsights-agent-3.2.6.jar) file.
3333

3434
> [!WARNING]
3535
>
@@ -51,7 +51,7 @@ Download the [applicationinsights-agent-3.2.5.jar](https://github.com/microsoft/
5151
5252
#### Point the JVM to the jar file
5353

54-
Add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to your application's JVM args.
54+
Add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to your application's JVM args.
5555

5656
> [!TIP]
5757
> For help with configuring your application's JVM args, see [Tips for updating your JVM args](./java-standalone-arguments.md).
@@ -66,7 +66,7 @@ Add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to your application
6666
APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=...
6767
```
6868

69-
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.2.5.jar` with the following content:
69+
- Or you can create a configuration file named `applicationinsights.json`. Place it in the same directory as `applicationinsights-agent-3.2.6.jar` with the following content:
7070

7171
```json
7272
{

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

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

1818
## Spring Boot
1919

20-
Add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` somewhere before `-jar`, for example:
20+
Add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` somewhere before `-jar`, for example:
2121

2222
```
23-
java -javaagent:path/to/applicationinsights-agent-3.2.5.jar -jar <myapp.jar>
23+
java -javaagent:path/to/applicationinsights-agent-3.2.6.jar -jar <myapp.jar>
2424
```
2525

2626
## Spring Boot via Docker entry point
2727

28-
If you are using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.5.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
28+
If you are using the *exec* form, add the parameter `"-javaagent:path/to/applicationinsights-agent-3.2.6.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
2929

3030
```
31-
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.2.5.jar", "-jar", "<myapp.jar>"]
31+
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.2.6.jar", "-jar", "<myapp.jar>"]
3232
```
3333

34-
If you are using the *shell* form, add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` somewhere before `-jar`, for example:
34+
If you are using the *shell* form, add the JVM arg `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` somewhere before `-jar`, for example:
3535

3636
```
37-
ENTRYPOINT java -javaagent:path/to/applicationinsights-agent-3.2.5.jar -jar <myapp.jar>
37+
ENTRYPOINT java -javaagent:path/to/applicationinsights-agent-3.2.6.jar -jar <myapp.jar>
3838
```
3939

4040
## Tomcat 8 (Linux)
@@ -44,18 +44,18 @@ ENTRYPOINT java -javaagent:path/to/applicationinsights-agent-3.2.5.jar -jar <mya
4444
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:
4545

4646
```
47-
JAVA_OPTS="$JAVA_OPTS -javaagent:path/to/applicationinsights-agent-3.2.5.jar"
47+
JAVA_OPTS="$JAVA_OPTS -javaagent:path/to/applicationinsights-agent-3.2.6.jar"
4848
```
4949

5050
### Tomcat installed via download and unzip
5151

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

5454
```
55-
CATALINA_OPTS="$CATALINA_OPTS -javaagent:path/to/applicationinsights-agent-3.2.5.jar"
55+
CATALINA_OPTS="$CATALINA_OPTS -javaagent:path/to/applicationinsights-agent-3.2.6.jar"
5656
```
5757

58-
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to `CATALINA_OPTS`.
58+
If the file `<tomcat>/bin/setenv.sh` already exists, then modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to `CATALINA_OPTS`.
5959

6060

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

6767
```
68-
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.5.jar
68+
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.6.jar
6969
```
7070

7171
Quotes are not necessary, but if you want to include them, the proper placement is:
7272

7373
```
74-
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.5.jar"
74+
set "CATALINA_OPTS=%CATALINA_OPTS% -javaagent:path/to/applicationinsights-agent-3.2.6.jar"
7575
```
7676

77-
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to `CATALINA_OPTS`.
77+
If the file `<tomcat>/bin/setenv.bat` already exists, just modify that file and add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to `CATALINA_OPTS`.
7878

7979
### Running Tomcat as a Windows service
8080

81-
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to the `Java Options` under the `Java` tab.
81+
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to the `Java Options` under the `Java` tab.
8282

8383

8484
## JBoss EAP 7
8585

8686
### Standalone server
8787

88-
Add `-javaagent:path/to/applicationinsights-agent-3.2.5.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):
88+
Add `-javaagent:path/to/applicationinsights-agent-3.2.6.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):
8989

9090
```java ...
91-
JAVA_OPTS="-javaagent:path/to/applicationinsights-agent-3.2.5.jar -Xms1303m -Xmx1303m ..."
91+
JAVA_OPTS="-javaagent:path/to/applicationinsights-agent-3.2.6.jar -Xms1303m -Xmx1303m ..."
9292
...
9393
```
9494

9595
### Domain server
9696

97-
Add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to the existing `jvm-options` in `JBOSS_HOME/domain/configuration/host.xml`:
97+
Add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to the existing `jvm-options` in `JBOSS_HOME/domain/configuration/host.xml`:
9898

9999
```xml
100100
...
@@ -104,7 +104,7 @@ Add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to the existing `jv
104104
<jvm-options>
105105
<option value="-server"/>
106106
<!--Add Java agent jar file here-->
107-
<option value="-javaagent:path/to/applicationinsights-agent-3.2.5.jar"/>
107+
<option value="-javaagent:path/to/applicationinsights-agent-3.2.6.jar"/>
108108
<option value="-XX:MetaspaceSize=96m"/>
109109
<option value="-XX:MaxMetaspaceSize=256m"/>
110110
</jvm-options>
@@ -144,20 +144,20 @@ Add these lines to `start.ini`
144144

145145
```
146146
--exec
147-
-javaagent:path/to/applicationinsights-agent-3.2.5.jar
147+
-javaagent:path/to/applicationinsights-agent-3.2.6.jar
148148
```
149149

150150

151151
## Payara 5
152152

153-
Add `-javaagent:path/to/applicationinsights-agent-3.2.5.jar` to the existing `jvm-options` in `glassfish/domains/domain1/config/domain.xml`:
153+
Add `-javaagent:path/to/applicationinsights-agent-3.2.6.jar` to the existing `jvm-options` in `glassfish/domains/domain1/config/domain.xml`:
154154

155155
```xml
156156
...
157157
<java-config ...>
158158
<!--Edit the JVM options here-->
159159
<jvm-options>
160-
-javaagent:path/to/applicationinsights-agent-3.2.5.jar>
160+
-javaagent:path/to/applicationinsights-agent-3.2.6.jar>
161161
</jvm-options>
162162
...
163163
</java-config>
@@ -174,7 +174,7 @@ Java and Process Management > Process definition > Java Virtual Machine
174174
```
175175
In "Generic JVM arguments" add the following:
176176
```
177-
-javaagent:path/to/applicationinsights-agent-3.2.5.jar
177+
-javaagent:path/to/applicationinsights-agent-3.2.6.jar
178178
```
179179
After that, save and restart the application server.
180180

@@ -183,7 +183,7 @@ After that, save and restart the application server.
183183

184184
Create a new file `jvm.options` in the server directory (for example `<openliberty>/usr/servers/defaultServer`), and add this line:
185185
```
186-
-javaagent:path/to/applicationinsights-agent-3.2.5.jar
186+
-javaagent:path/to/applicationinsights-agent-3.2.6.jar
187187
```
188188

189189
## Others

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

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ You will find more details and additional configuration options below.
3737

3838
## Configuration file path
3939

40-
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.5.jar`.
40+
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.6.jar`.
4141

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

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

47-
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.5.jar` is located.
47+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.6.jar` is located.
4848

4949
Alternatively, instead of using a configuration file, you can specify the entire _content_ of the json configuration
5050
via the environment variable `APPLICATIONINSIGHTS_CONFIGURATION_CONTENT`.
@@ -65,6 +65,22 @@ Connection string is required. You can find your connection string in your Appli
6565
You can also set the connection string using the environment variable `APPLICATIONINSIGHTS_CONNECTION_STRING`
6666
(which will then take precedence over connection string specified in the json configuration).
6767

68+
You can also set the connection string by specifying a file to load the connection string from.
69+
70+
If you specify a relative path, it will be resolved relative to the directory where `applicationinsights-agent-3.2.6.jar` is located.
71+
72+
```json
73+
{
74+
"connectionString": "${file:connection-string-file.txt}"
75+
}
76+
```
77+
78+
The file should contain only the connection string, for example:
79+
80+
```
81+
InstrumentationKey=...
82+
```
83+
6884
Not setting the connection string will disable the Java agent.
6985

7086
## Cloud role name
@@ -326,7 +342,7 @@ To disable auto-collection of Micrometer metrics (including Spring Boot Actuator
326342

327343
## HTTP headers
328344

329-
Starting from 3.2.5, you can capture request and response headers on your server (request) telemetry:
345+
Starting from 3.2.6, you can capture request and response headers on your server (request) telemetry:
330346

331347
```json
332348
{
@@ -372,7 +388,7 @@ Again, the header names are case-insensitive, and the examples above will be cap
372388

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

375-
Starting from version 3.2.5, you can change this behavior to capture them as success if you prefer:
391+
Starting from version 3.2.6, you can change this behavior to capture them as success if you prefer:
376392

377393
```json
378394
{
@@ -474,7 +490,7 @@ Starting from version 3.2.0, the following preview instrumentations can be enabl
474490
```
475491
> [!NOTE]
476492
> Akka instrumentation is available starting from version 3.2.2
477-
> Vertx HTTP Library instrumentation is available starting from version 3.2.5
493+
> Vertx HTTP Library instrumentation is available starting from version 3.2.6
478494
479495
## Metric interval
480496

@@ -541,7 +557,7 @@ you can configure Application Insights Java 3.x to use an HTTP proxy:
541557
Application Insights Java 3.x also respects the global `https.proxyHost` and `https.proxyPort` system properties
542558
if those are set (and `http.nonProxyHosts` if needed).
543559

544-
Starting from 3.2.5, authenticated proxies are supported. You can add `"user"` and `"password"` under `"proxy"` in
560+
Starting from 3.2.6, authenticated proxies are supported. You can add `"user"` and `"password"` under `"proxy"` in
545561
the json above (or if you are using the system properties above, you can add `https.proxyUser` and `https.proxyPassword`
546562
system properties).
547563

@@ -573,7 +589,7 @@ and the console, corresponding to this configuration:
573589
`level` can be one of `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, or `TRACE`.
574590

575591
`path` can be an absolute or relative path. Relative paths are resolved against the directory where
576-
`applicationinsights-agent-3.2.5.jar` is located.
592+
`applicationinsights-agent-3.2.6.jar` is located.
577593

578594
`maxSizeMb` is the max size of the log file before it rolls over.
579595

articles/azure-monitor/app/statsbeat.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Statsbeat collects essential and non-essential [custom metric](../essentials/met
1515

1616
Statsbeat data is stored in a Microsoft data store. It doesn't impact customers' overall monitoring volume and cost.
1717

18+
Statsbeat doesn't support [Azure Private Link](../../automation/how-to/private-link-security.md).
19+
1820
## What data does Statsbeat collect?
1921

2022
Statsbeat collects essential and non-essential metrics.
@@ -25,6 +27,33 @@ Statsbeat collects essential and non-essential metrics.
2527
|---------------------------|-----------------|---------------------------|-----------------|-----------------|
2628
| Currently Not supported | Supported | Currently Not supported | Supported | Supported |
2729

30+
## Supported EU Regions
31+
32+
#### [Java](#tab/eu-java)
33+
34+
Statseat supports EU Data Boundary for Application Insights resources in the following regions:
35+
36+
| Geo Name | Region Name |
37+
|---------------------------|------------------------|
38+
| Europe | North Europe |
39+
| Europe | West Europe |
40+
| France | France Central |
41+
| France | France South |
42+
| Germany | Germany West Central |
43+
| Norway | Norway East |
44+
| Norway | Norway West |
45+
| Sweden | Sweden Central |
46+
| Switzerland | Switzerland North |
47+
| Switzerland | Switzerland West |
48+
49+
50+
#### [Node](#tab/eu-node)
51+
52+
N/A
53+
54+
#### [Python](#tab/eu-python)
55+
56+
N/A
2857

2958
### Essential Statsbeat
3059

0 commit comments

Comments
 (0)