MCPcopy Create free account
hub / github.com/cortexproject/cortex / newDefaultCompactorMetrics

Function newDefaultCompactorMetrics

pkg/compactor/compactor_metrics.go:62–64  ·  view source on GitHub ↗
(reg prometheus.Registerer)

Source from the content-addressed store, hash-verified

60)
61
62func newDefaultCompactorMetrics(reg prometheus.Registerer) *compactorMetrics {
63 return newCompactorMetricsWithLabels(reg, commonLabels, []string{"resolution"})
64}
65
66func newCompactorMetrics(reg prometheus.Registerer) *compactorMetrics {
67 return newCompactorMetricsWithLabels(reg, commonLabels, append(commonLabels, compactionLabels...))

Callers 1

newCompactorFunction · 0.85

Calls 1

Tested by

no test coverage detected