-
Notifications
You must be signed in to change notification settings - Fork 474
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
Custom http headers for tracing #7266
Comments
I think this makes sense. We support I will add this to the backlog, @krmcbride, would you be interested in contributing this feature? |
I did the original impl for the prom headers, so I can try to do this since its very similar |
@krmcbride Do you want to test this locally to see if it addresses your issue? I uploaded the dev images on my quay repo:
The new configuration should look like: external_services:
tracing:
custom_headers:
HeaderName1: HeaderValue1 |
The two PRs are ready for review. In my testing, I can see the custom headers get passed using kubeshark to examine the requests. |
Thanks @jmazzitelli, tested your |
* send custom headers in tracing backend requests fixes: #7266 * add ctx to the tempo grpc client
What do you want to improve?
Similar to #4323 but for the tracing config -- I'm using a multitenant Grafana Tempo deployment which needs a
X-Scope-OrgID
header set with a tenant ID. I can connect to Grafana Mimir with theprometheus.custom_headers
config:But there doesn't appear to be an equivalent for tracing/tempo.
What is the current behavior?
Requests to Tempo without the
X-Scope-OrgID
set result in aresponse, which causes a JSON unmarshalling error.
As a temp workaround I'm proxying requests from Kiali to Tempo through an nginx pod with
to set the correct tenant header, and trace info appears in Kiali as expected.
What is the new behavior?
Logically I'd expect there to be an optional
spec.external_services.tracing.custom_headers
map, same as for the prometheus client.The text was updated successfully, but these errors were encountered: