Skip to content
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 for dynamic headers in Zipkin exporter #2012

Closed
sfishel-splunk opened this issue Mar 12, 2021 · 0 comments · Fixed by #2050
Closed

Support for dynamic headers in Zipkin exporter #2012

sfishel-splunk opened this issue Mar 12, 2021 · 0 comments · Fixed by #2050
Assignees

Comments

@sfishel-splunk
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I have an application where the auth token I'm using for the Zipkin exporter endpoint headers can change over the lifetime of the page. The exporter API only supports setting headers at instantiation time, so I have no way to update the token.

Describe the solution you'd like

I'm open to any solution, but what I had in mind was support for a function as the header property in the exporter configuration, which would be called as each export request is sent.

Describe alternatives you've considered

I have attempted to accomplish this by sub-classing the Zipkin exporter, but I can't do it without referencing private methods.

Additional context

I would be up for submitting a pull request if you're open to this idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants