Skip to content

Is there a way to get the list of active instrumentation libraries? #11193

Answered by laurit
sakariye asked this question in Q&A
Discussion options

You must be logged in to vote

You could turn on debug logging with -Dotel.javaagent.debug=true and examine the output. Look for lines like

[otel.javaagent 2024-04-20 17:17:54:934 +0300] [main] DEBUG io.opentelemetry.javaagent.tooling.instrumentation.InstrumentationLoader - Loading instrumentation internal-class-loader [class io.opentelemetry.javaagent.instrumentation.internal.classloader.ClassLoaderInstrumentationModule]
[otel.javaagent 2024-04-20 17:17:54:934 +0300] [otel-javaagent-transform-safe-logger] DEBUG io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule - Instrumentation internal-application-logging is disabled

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sakariye
Comment options

Answer selected by sakariye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants