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
Support customized tags from request header for tracing #13018
Comments
@douglas-reid This is another area to consider for the tracing API - as it would tend to be service specific. |
@douglas-reid Any thought? |
+1 So, yeah, something where headers can be added to a span via configuration would be a great feature. |
Is there any possible we have this in istio 1.1.x? |
@morvencao Can this feature meet your requirements? https://istio.io/docs/reference/config/networking/v1alpha3/virtual-service/#Headers
from the envoy log, you can see
|
@clyang82 We need something beyond that, more specifically, we need to customize jaeger tags from headers in http request/response to/from destination service. We need to update the Istio api to implement this feature. |
There is already a proposal by @douglas-reid to add tracing control(including |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
Work is currently underway in Envoy to enable custom tags to be created from a variety of sources, including from request headers (which was supported before) but now having the ability to use a different name for the tag. Once this lands, it can be used via the |
Not stale. |
Related to #22457 @morvencao for the time being you can use the envoy capability until we have a better way of supporting it in istio (see the link above). |
thanks @jacob-delgado |
Verified in 1.6.0-beta.0 build |
Describe the feature request
Envoy v2 API supports request_headers_for_tags, which can be used to create tags for the active span from request headers, but looks look like Istio currently doesn't support to generate such envoy configuration.
However, this feature is useful if the operators expect to differentiate tracing data from different application.
Describe alternatives you've considered
Expect Istio to support new API or enhance current tracing API to support envoy
request_headers_for_tags
configuration./cc @linsun @gyliu513 @clyang82
The text was updated successfully, but these errors were encountered: