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

[question] How to handle token refresh in gRPC logs exporter for OpenTelemetry? #5820

Open
jan-nemo opened this issue Sep 9, 2024 · 0 comments
Labels
needs-triage New issues which have not been classified or triaged by a community member question Further information is requested

Comments

@jan-nemo
Copy link

jan-nemo commented Sep 9, 2024

What is the question?

We are integrating OpenTelemetry into our product to export logs via the OpenTelemetry gRPC protocol. Our target service uses OpenID Connect (Client Credentials Flow) for authentication, requiring a valid access token in the metadata of each request.

The issue we're facing is that when the access token expires, we are unable to update it in the metadata for subsequent requests. This is causing failures once the token becomes invalid.

Could you please provide guidance on how to handle refreshing the access token and updating it in the gRPC metadata for the logs exporter?

Thank you!

Additional context

No response

@jan-nemo jan-nemo added needs-triage New issues which have not been classified or triaged by a community member question Further information is requested labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage New issues which have not been classified or triaged by a community member question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant