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 Docker image I'm using uses java -jar as its ENTRYPOINT such that the final CMD expects a jar file. In order to configure the JVM I'm passing values to JAVA_TOOL_OPTIONS, but Otel overrides these with the -javaagent per comments #1744 and #1135. Is there a way to combine the existing options with those Otel injects? From the issues on this repository (#1814 and #1393) it seems that's not yet the case.
The text was updated successfully, but these errors were encountered:
Turns out the JAVA_TOOL_OPTIONS environment variable was set only in the Dockerfile, and not in the Deployment resource. If I set it on the deployment it merges with the Open Telemetry agent as expected. As such I'll close this issue.
The Docker image I'm using uses
java -jar
as itsENTRYPOINT
such that the finalCMD
expects a jar file. In order to configure the JVM I'm passing values toJAVA_TOOL_OPTIONS
, but Otel overrides these with the-javaagent
per comments #1744 and #1135. Is there a way to combine the existing options with those Otel injects? From the issues on this repository (#1814 and #1393) it seems that's not yet the case.The text was updated successfully, but these errors were encountered: