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
The following sections describe how to get started with Java autoinstrumentation for specific technical environments.
13
+
In the following sections, learn how to get Java autoinstrumentation for specific technical environments.
14
14
15
15
## Azure App Service
16
16
@@ -29,25 +29,22 @@ For more information, see [Use Application Insights Java In-Process Agent in Azu
29
29
> [!NOTE]
30
30
> With Spring Boot Native Image applications, use the [Azure Monitor OpenTelemetry Distro / Application Insights in Spring Boot native image Java application](https://aka.ms/AzMonSpringNative) project instead of the Application Insights Java agent.
31
31
32
-
### Docker entrypoint
32
+
### Docker entry point
33
33
34
-
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.5.0.jar"` to the parameter list somewhere before the `"-jar"` parameter.
35
-
36
-
For example:
34
+
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.5.0.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.5.0.jar"` somewhere before `-jar`.
43
-
44
-
For example:
40
+
If you're using the *shell* form, add the Java Virtual Machine (JVM) arg `-javaagent:"path/to/applicationinsights-agent-3.5.0.jar"` somewhere before `-jar`, for example:
In this example, we copy the `applicationinsights-agent-3.5.0.jar` and `applicationinsights.json` files from an `agent` folder (you can choose any folder of your machine). These two files have to be in the same folder in the Docker container.
65
+
In this example, you copy the `applicationinsights-agent-3.5.0.jar` and `applicationinsights.json` files from an `agent` folder (you can choose any folder of your machine). These two files have to be in the same folder in the Docker container.
69
66
70
67
### Partner container images
71
68
@@ -122,7 +119,7 @@ If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `
122
119
123
120
Locate the file `<tomcat>/bin/tomcat8w.exe`. Run that executable and add `-javaagent:path/to/applicationinsights-agent-3.5.0.jar` to the `Java Options` under the `Java` tab.
124
121
125
-
### JBoss EAP 7
122
+
### JBoss Enterprise Application Platform 7
126
123
127
124
In Red Hat JBoss Enterprise Application Platform (EAP) 7, you can set up a standalone server or a domain server.
128
125
@@ -178,7 +175,7 @@ If you're running multiple managed servers on a single host, you need to add `ap
178
175
...
179
176
```
180
177
181
-
The specified `applicationinsights.agent.id` value must be unique. The value creates a subdirectory under the Application Insights directory. Each JVM process needs its own local Application Insights config and local Application Insights log file. Also, if reporting to the central collector, multiple managed servers share the `applicationinsights.properties` file, so the specified `applicationinsights.agent.id` is needed to override the `agent.id` setting in that shared file. The `applicationinsights.agent.rollup.id` can be similarly specified in the server's `system-properties` if you need to override the `agent.rollup.id` setting per managed server.
178
+
The specified `applicationinsights.agent.id` value must be unique. You use the value to create a subdirectory under the Application Insights directory. Each JVM process needs its own local Application Insights config and local Application Insights log file. Also, if reporting to the central collector, multiple managed servers share the `applicationinsights.properties` file, so the specified `applicationinsights.agent.id` is needed to override the `agent.id` setting in that shared file. The `applicationinsights.agent.rollup.id` can be similarly specified in the server's `system-properties` if you need to override the `agent.rollup.id` setting per managed server.
182
179
183
180
### Jetty 9
184
181
@@ -208,24 +205,24 @@ Add `-javaagent:path/to/applicationinsights-agent-3.5.0.jar` to the existing `jv
208
205
### WebSphere 8
209
206
210
207
1. Open Management Console.
211
-
1. Go to **Servers** > **WebSphere application servers** > **Application servers**. Choose the appropriate application servers, and then select **Java and Process Management** > **Process definition** >**Java Virtual Machine**.
208
+
1. Go to **Servers** > **WebSphere application servers** > **Application servers**. Choose the appropriate application servers and select **Java and Process Management** > **Process definition** > **Java Virtual Machine**.
212
209
213
-
1.For **Generic JVM arguments**, add the following JVM argument.
210
+
1.In `Generic JVM arguments`, add the following JVM argument.
0 commit comments