Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skipping javaagent injection #3166

Closed
mghidotti opened this issue Jul 25, 2024 · 1 comment
Closed

Skipping javaagent injection #3166

mghidotti opened this issue Jul 25, 2024 · 1 comment

Comments

@mghidotti
Copy link

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

@jaronoff97
Copy link
Contributor

This is a known issue right now and we are waiting an implementation for the fix. #1814

Please follow up on the initial issue if you can, so we can prioritize a fix accordingly.

@jaronoff97 jaronoff97 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants