add debug log confirming what is loaded by OTEL_JAVAAGENT_EXTENSIONS #11616
Labels
contribution welcome
Request makes sense, maintainers probably won't have time, contribution would be welcome
enhancement
New feature or request
Describe the bug
I have built a custom Sampler that I have placed in a jar. Following the docs, I am starting my application with
OTEL_JAVAAGENT_EXTENSIONS
env variable, pointing to the jar where my custom sampler and its provider are, but at startup, my sampler is not found, and I get very little information, even with debug enabled :Steps to reproduce
launch your application with
OTEL_JAVAAGENT_EXTENSIONS
env variable pointing to something that doesn't exist : you won't get any particular warning in the logs.Expected behavior
It would be useful to get more infos in debug logs :
OTEL_JAVAAGENT_EXTENSIONS
value taken into account ? and/or is it pointing to something that is invalid ?Actual behavior
no particular infos in debug logs, pertaining to whether the provided configuration is correct/useful or not.
Javaagent or library instrumentation version
2.1.0
Environment
JDK: Eclipse Adoptium - 17.0.8.1+1
OS: MacOs
Additional context
No response
The text was updated successfully, but these errors were encountered: