Not able to inject a span attribute using an extension to OT agent #3924
Unanswered
LavjeetGangwani
asked this question in
Q&A
Replies: 1 comment
-
Hi @LavjeetGangwani , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to inject a span attribute by using the sample extension provided https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/examples/extension but seems like this sample extension is not working for me locally. I am using the same instrumentation point and at onMethodEnter I am accessing the current span and trying to inject a new attribute there. If someone can help me on this it would be amazing.
Beta Was this translation helpful? Give feedback.
All reactions