-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opentelemetry: access logging traceid and span id #8765
Comments
@lework The plugin Ref: https://apisix.apache.org/docs/apisix/plugins/opentelemetry/ Could you describe your detailed use case? |
you can refer to https://github.com/open-telemetry/opentelemetry-cpp-contrib/blob/main/instrumentation/nginx/README.md where there are nginx variables that can be logged in the access log
|
@lework Currently that plugin does not define the nginx variables you mentioned to be used in log directly. |
It seems that these variables are useful to debug and get to know the tracing details, which can be visited and recorded in logs or headers. @lework Would you like to help the community to explore this? |
fixed by #8871 |
Description
plugin: opentelemetry
How to record traceid and span id in access log?
The text was updated successfully, but these errors were encountered: