-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 tracing request specific header attribute #7077
Comments
Hello @rasmuscc thanks for filing this request. If you could provide more context around why this is required and the benefit of this feature, that would be helpful. Thanks. |
It is not uncommon that calls to REST services include some sort of trace og log ID that is not an OpenTelemetry trace header. This feature request would support including such headers and any other header for that matter, as an OpenTelemetry trace attribute |
What is the underlying problem you're trying to solve?
We are sending a REST request in OPA with a request specific header and would like to include this header in the OpenTelemetry span as an attribute.
E.g. using: http.response.header.
Describe the ideal solution
I'd imagine it could be configured something like this:
Should produce a span like this:
The text was updated successfully, but these errors were encountered: