Skip to content

Commit 05c3cec

Browse files
Merge pull request #218520 from trask/3rdpartyimages
3rd party container images
2 parents abc0055 + 146becd commit 05c3cec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ See [Monitoring Azure Functions with Azure Monitor Application Insights](./monit
2222

2323
Read the Spring Boot documentation [here](../app/java-in-process-agent.md).
2424

25+
## Third-party container images
26+
27+
If you are using a third-party container image which you cannot modify, mount the Application Insights Java agent jar
28+
into the container from outside, and set the environment variable for the container
29+
`JAVA_TOOL_OPTIONS=-javaagent:/path/to/applicationinsights-agent.jar`.
30+
2531
## Tomcat 8 (Linux)
2632

2733
### Tomcat installed via `apt-get` or `yum`

0 commit comments

Comments
 (0)