Skip to content

Commit a465133

Browse files
Merge pull request #235898 from jeanbisutti/ai-docker-improvement
Improve Docker doc for Application Insights Java
2 parents c0c4157 + 54b43d1 commit a465133

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 have 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)