Skip to content

Commit

Permalink
fix increment of thanos_compact_downsample_total counter
Browse files Browse the repository at this point in the history
`thanos_compact_downsample_total` metric was not incremented for ResLevel1
  • Loading branch information
belm0 authored Jul 15, 2020
1 parent f15b0c0 commit 97016d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/downsample.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func downsampleBucket(
metrics.downsampleFailures.WithLabelValues(compact.DefaultGroupKey(m.Thanos))
return errors.Wrap(err, "downsampling to 60 min")
}
metrics.downsamples.WithLabelValues(compact.DefaultGroupKey(m.Thanos))
metrics.downsamples.WithLabelValues(compact.DefaultGroupKey(m.Thanos)).Inc()
}
}
return nil
Expand Down

0 comments on commit 97016d6

Please sign in to comment.