Skip to content

Commit

Permalink
fix: metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 authored and zwopir committed Jan 28, 2020
1 parent aa96f7d commit 2ac39ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/snapshots.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func NewSnapshots(logger log.Logger, client *http.Client, url *url.URL) *Snapsho
{
Type: prometheus.GaugeValue,
Desc: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "snapshot_stats", "latest_snapshot_timestamp"),
prometheus.BuildFQName(namespace, "snapshot_stats", "latest_snapshot_seconds"),
"Timestamp of the latest SUCCESS or PARTIAL snapshot",
defaultSnapshotRepositoryLabels, nil,
),
Expand Down

0 comments on commit 2ac39ab

Please sign in to comment.