-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
objstore: do not set last successful time metric before 1st upload (#921
) 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.
- Loading branch information
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters