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
While trying to instrument my java application (called "api-rest") using open-telemetry auto instrumentation injection, I discovered that it is not possible to instrument my app.
Looking at my opentelemetry operator logs this is what i got: {"level":"INFO","timestamp":"2024-07-25T09:44:27Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"} {"level":"INFO","timestamp":"2024-07-25T09:45:08Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"} {"level":"INFO","timestamp":"2024-07-25T12:42:56Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"} {"level":"INFO","timestamp":"2024-07-25T12:43:38Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"}
My app takes the JAVA_TOOL_OPTIONS env var from a config map and I need the configuration to be done this way to be able to give access to modify only the config map from outside. I wanted to ask if there was a workaround to this problem.
Let me know if you need further information, thanks
The text was updated successfully, but these errors were encountered:
Component(s)
auto-instrumentation
Describe the issue you're reporting
While trying to instrument my java application (called "api-rest") using open-telemetry auto instrumentation injection, I discovered that it is not possible to instrument my app.
Looking at my opentelemetry operator logs this is what i got:
{"level":"INFO","timestamp":"2024-07-25T09:44:27Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"} {"level":"INFO","timestamp":"2024-07-25T09:45:08Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"} {"level":"INFO","timestamp":"2024-07-25T12:42:56Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"} {"level":"INFO","timestamp":"2024-07-25T12:43:38Z","message":"Skipping javaagent injection","reason":"the container defines env var value via ValueFrom, envVar: JAVA_TOOL_OPTIONS","container":"api-rest"}
My app takes the JAVA_TOOL_OPTIONS env var from a config map and I need the configuration to be done this way to be able to give access to modify only the config map from outside. I wanted to ask if there was a workaround to this problem.
Let me know if you need further information, thanks
The text was updated successfully, but these errors were encountered: