Opentelemetry java auto-instrumentation session tracing #5547
Replies: 2 comments 9 replies
-
hi @NamitaJaokar!
Zipkin is not a metrics backend, you may want to look at prometheus if you are looking for an OSS metrics backend.
these properties are not boolean valued, check out https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/v1.10.0/docs/config/common.md |
Beta Was this translation helpful? Give feedback.
-
Hi @trask , Is it possible to capture the headers (without any processing) with the auto-instrumentation? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using opentelemetry javaagent jar version 10 and currently trying to implement session tracing using opentelemetry with zipkin as exporter.
Is there any configurations available to trace or export the users authenticated in the application ?
Also, I have tried few configuration properties at my end to uniquely define the users if at all I am able to capture hostname/IP address of the users using the agent.
-Dotel.metrics.exporter : This property , gives me the hostname of the machine and and other OS and process level when the value is set to logging. But the same fails when tried with zipkin as the metrics exporter. Is metrics export option available only with logging and not Zipkin exporter?
Apart from the above points , I also wanted to understand below configuration properties. I had tried setting these properties in my application but there were no changes/additions in the kind of attributes/traces captured before and after setting them
-Dotel.instrumentation.http.capture-headers.client.request
-Dotel.instrumentation.http.capture-headers.client.response
-Dotel.instrumentation.http.capture-headers.server.request
-Dotel.instrumentation.http.capture-headers.server.response
-Dotel.instrumentation.common.peer-service-mapping
For all of the above properties overridden , I had set the value as true for them.
Can someone please advise/ help me on the above queries.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions