Skip to content

Commit f98ce43

Browse files
committed
remove bonus edits in first reviewed file
1 parent 3b3c3de commit f98ce43

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

articles/azure-monitor/app/java-get-started-supplemental.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ ms.custom: devx-track-java, devx-track-extended-java
88
ms.reviewer: mmcc
99
---
1010

11-
# Get started (supplemental)
11+
# Get Started (Supplemental)
1212

13-
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.
1414

1515
## Azure App Service
1616

@@ -29,25 +29,22 @@ For more information, see [Use Application Insights Java In-Process Agent in Azu
2929
> [!NOTE]
3030
> 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.
3131
32-
### Docker entrypoint
32+
### Docker entry point
3333

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:
3735

3836
```
3937
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.5.0.jar", "-jar", "<myapp.jar>"]
4038
```
4139

42-
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:
4541

4642
```
4743
ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.5.0.jar" -jar <myapp.jar>
4844
```
4945

50-
### Dockerfile
46+
47+
### Docker file
5148

5249
A Dockerfile example:
5350

@@ -65,7 +62,7 @@ ENV APPLICATIONINSIGHTS_CONNECTION_STRING="CONNECTION-STRING"
6562
ENTRYPOINT["java", "-javaagent:applicationinsights-agent-3.5.0.jar", "-jar", "app.jar"]
6663
```
6764

68-
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.
6966

7067
### Partner container images
7168

@@ -122,7 +119,7 @@ If the file `<tomcat>/bin/setenv.bat` already exists, modify that file and add `
122119

123120
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.
124121

125-
### JBoss EAP 7
122+
### JBoss Enterprise Application Platform 7
126123

127124
In Red Hat JBoss Enterprise Application Platform (EAP) 7, you can set up a standalone server or a domain server.
128125

@@ -178,7 +175,7 @@ If you're running multiple managed servers on a single host, you need to add `ap
178175
...
179176
```
180177

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.
182179

183180
### Jetty 9
184181

@@ -208,24 +205,24 @@ Add `-javaagent:path/to/applicationinsights-agent-3.5.0.jar` to the existing `jv
208205
### WebSphere 8
209206

210207
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**.
212209

213-
1. For **Generic JVM arguments**, add the following JVM argument.
210+
1. In `Generic JVM arguments`, add the following JVM argument.
214211

215-
```java
212+
```
216213
-javaagent:path/to/applicationinsights-agent-3.5.0.jar
217214
```
218215
219-
1. Select **Save**, and then restart the application server.
216+
1. Save and restart the application server.
220217
221218
### OpenLiberty 18
222219
223-
In the server directory (for example, in `<openliberty>/usr/servers/defaultServer`), create a new file named *jvm.options*. Add this line:
220+
Create a new file `jvm.options` in the server directory (for example, `<openliberty>/usr/servers/defaultServer`), and add this line:
224221
225-
```java
222+
```
226223
-javaagent:path/to/applicationinsights-agent-3.5.0.jar
227224
```
228225
229226
### Others
230227
231-
To learn how to add JVM args, see your application server documentation.
228+
See your application server documentation on how to add JVM args.

0 commit comments

Comments
 (0)