You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
I noticed that currently, if we're using the application default credentials, the StackdriverExporter ends up crashing because of this issue in google-auth-library-python and the only way to make it work again is to restart the background thread.
The tracing collection goes fine for a while, and then starts failing in loops with:
...
File "/usr/local/lib/python2.7/dist-packages/google/cloud/client.py", line 212, in __init__
Client.__init__(self, credentials=credentials, _http=_http)
File "/usr/local/lib/python2.7/dist-packages/google/cloud/client.py", line 125, in __init__
credentials, _ = google.auth.default()
File "/usr/local/lib/python2.7/dist-packages/google/auth/_default.py", line 286, in default
raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or
explicitly create credential and re-run the application. For more
information, please see
https://developers.google.com/accounts/docs/application-default-credentials.