Skip to content

Commit 4e616a8

Browse files
committed
Improce Docker doc for Application Insights Java
1 parent 1834360 commit 4e616a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ ENV APPLICATIONINSIGHTS_CONNECTION_STRING="CONNECTION-STRING"
5555
ENTRYPOINT["java", "-javaagent:applicationinsights-agent-3.4.12.jar", "-jar", "app.jar"]
5656
```
5757

58+
In this example we have copied the `applicationinsights-agent-3.4.12.jar` and `applicationinsights.json` files from an `agent` folder (you can choose any folder of your machine). These two files has to be in the same folder in the Docker container.
59+
5860
### Third-party container images
5961

6062
If you're using a third-party container image that you can't modify, mount the Application Insights Java agent jar into the container from outside. Set the environment variable for the container

0 commit comments

Comments
 (0)