-
Notifications
You must be signed in to change notification settings - Fork 154
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
How to update headers in StableOtlpHTTPMetricExporter? #650
Comments
I am unclear about their recommended approach for including the auth token in the header while using their exporter. Their exporter includes a |
Thanks, I'll give it a try, but it looks a little bit overcomplicated solution to simple issue |
@JustasL |
@bryce-b yeah, but it is constant, I can not update headers after the token has expired and has been updated |
Would it be possible to re-create the exporter when you need to refresh the headers? |
I've chosen to go with custom |
@JustasL I'm having trouble finding where android provides a means to update the headers, could you share it? |
refined issue: #651 |
My android colleague is using this method |
Hello, is there are way to update
StableOtlpHTTPMetricExporter
headers after it has been setup?We want to provide authorisation token, which can expire, and will need to be updated in the future
But at the moment it seems headers can only be setup during init?
The text was updated successfully, but these errors were encountered: