-
Notifications
You must be signed in to change notification settings - Fork 101
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
Metrics gap due to "Treat failure to collect metric as fatal" #101
Comments
Yes, I had some conversation with @gouthamve about this. We should probably extend the collector to have a |
Ping @cpick. It turns out the error handling change introduces too many problems. I think you would be better off not crashing the exporter and fixing your Vault automation to restart on credential rotation. |
I figured out a simple way to reproduce the issue. It looks like the error is: This seems to come from |
It makes sense to me to specifically identify authentication issues and only exit when one is detected.
Just out of curiosity, if the underlying request to the Stackdriver API times out then that will still result in a gap in metrics (whether or not
Being able to continue to publish this proposed
Exactly, that's one example and here's another:
If we exit on those two cases I think that'd be a great middle ground. |
We're experiencing small gaps in the metrics exported by the stackdriver exporter and, after some investigation, ended up to be caused by the stackdriver exporter exiting each time an API request timeout:
This behavioural change has been introduced in #83 and I'm wondering how we could improve it. Few ideas/options:
Any other idea to fix it?
Example of gap
The text was updated successfully, but these errors were encountered: