open-telemetry / opentelemetry-cpp-contrib

https://opentelemetry.io/
Apache License 2.0
121 stars 128 forks source link

Feature to add Nginx variables related to tracing context #416

Closed aryanishan1001 closed 2 months ago

aryanishan1001 commented 3 months ago

Fixes #415

Added 4 nginx variables $opentelemetry_trace_id, $opentelemetry_span_id, $opentelemetry_context_traceparent, $opentelemetry_context_b3 which can be accessed from the .conf files and can be used as needed.