Please help me with extention for SpanProcessor #5512
-
I am trying to extend OpenTelemetry java agent and I don't see any indication it is trying to load my jar.
my config file is (the attributes are working):
my extension is:
I have added the configuration like this:
I don't see any indication that my extension is loaded, I don't see any of my parameters on the produced spans. can anybody help me? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Hi @YonatanHunger - due to an initialization ordering constraint, the |
Beta Was this translation helpful? Give feedback.
-
Hi @YonatanHunger @anuraaga , I am trying the same thing, i am using tomcat server and had passed java agent and its extension in bellow format : But still the traces are not visible. Thankyou |
Beta Was this translation helpful? Give feedback.
Hi @YonatanHunger - due to an initialization ordering constraint, the
otel.javaagent.extensions
does not support being read from the properties file. Can you pass-Dotel.javaagent.extensions=
on the command line and see if it helps?