Skip to content

Commit 7cf83c4

Browse files
committed
dont' use defaultbucket explicitly
1 parent 7666479 commit 7cf83c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/query/aggregation_label_rewriter.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ func newAggregationLabelRewriterMetrics(reg prometheus.Registerer, desiredLabelV
5151
ConstLabels: prometheus.Labels{"new_value": desiredLabelValue},
5252
})
5353
m.aggregationLabelRewriterRuntimeSeconds = promauto.With(reg).NewHistogramVec(prometheus.HistogramOpts{
54-
Name: "total_runtime_seconds",
55-
Help: "Runtime of aggregation-label-rewriter in seconds",
56-
Buckets: prometheus.DefBuckets,
54+
Name: "total_runtime_seconds",
55+
Help: "Runtime of aggregation-label-rewriter in seconds",
5756
}, []string{"is_rewritten"})
5857

5958
return m

0 commit comments

Comments
 (0)