Instruments war file into tomcat. #6095
Unanswered
saursharma-equinix
asked this question in
Q&A
Replies: 0 comments
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 have seen some doc to instrument war into tomcat
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path-to-where-jar-is-downloaded/opentelemetry-javaagent.jar"
export OTEL_METRICS_EXPORTER=none
export OTEL_EXPORTER_OTLP_ENDPOINT=OTELcollectorIP:port < or Copy from other instrumentations that you have running already, basically IP:port>
export OTEL_RESOURCE_ATTRIBUTES=service.name=<app_name>
But it won't work. I am unable to see the traceId or spanId.
Beta Was this translation helpful? Give feedback.
All reactions