Skip to content

Is there a way to use AgentInstrumentationConfig? #11909

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

You must be logged in to vote

error says

/Users/ltulmin/dev/open-telemetry-sample-project/src/main/java/org/example/extension/SampleInstrumentationModule.java:23: error: cannot access InstrumentationConfig
        AgentInstrumentationConfig.get().getString("ssss");

try also adding the dependency that contains InstrumentationConfig

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@laurit
Comment options

@zerocooldog
Comment options

@laurit
Comment options

Answer selected by zerocooldog
@zerocooldog
Comment options

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