Hi team
any one can help me to get trace id and span id on log without using plugins and backend service like datadog
Hi team
any one can help me to get trace id and span id on log without using plugins and backend service like datadog
The trace information is transferred in http-header.
If you override the nginx logging format, you can log any header with “$http_…”, (eg “$http_x-b3-traceid”).
In which header the traceId and spanId are, depends on the tracing format used.
Classic zipkin format uses for instance the headers “x-b3-traceid” and “x-b3-spanid”, Jaeger uses “uber-trace-id”, W3C format uses the header “traceparent” with traceId and spanId separated by “-”
So the exact answer depend on some details of your environment.
Hi
I am not able to match kong trace id and application trace id .kindly help me how to match
Thanks and regards
Innamuri Srinivasulu