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

objstore: do not set last successful time metric before 1st upload #921

Merged
merged 1 commit into from
Mar 14, 2019

Conversation

GiedriusS
Copy link
Member

Convert lastSuccessfullUploadTime into a GaugeVec with one dimension:
bucket, which makes client_golang not make that metric unless at least
one value has appeared.

This is better for users since Grafana will show that last upload has
been 49+ years ago instead of N/A when no uploads had happened before.

Fixes #886.

Convert lastSuccessfullUploadTime into a GaugeVec with one dimension:
bucket, which makes client_golang *not* make that metric unless at least
one value has appeared.

This is better for users since Grafana will show that last upload has
been 49+ years ago instead of N/A when no uploads had happened before.

Fixes thanos-io#886.
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, that's tiny detail, but I get that pain (: LGTM!

@bwplotka bwplotka merged commit 7fab732 into thanos-io:master Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants