Skip to content

Commit b54e226

Browse files
authored
Revert "refactor(blooms): Delete outdated metas (#13153)"
This reverts commit 9c96d26.
1 parent 9c96d26 commit b54e226

File tree

7 files changed

+113
-1185
lines changed

7 files changed

+113
-1185
lines changed

pkg/bloombuild/planner/metrics.go

-16
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ type Metrics struct {
3232
buildCompleted *prometheus.CounterVec
3333
buildTime *prometheus.HistogramVec
3434

35-
blocksDeleted prometheus.Counter
36-
metasDeleted prometheus.Counter
37-
3835
tenantsDiscovered prometheus.Counter
3936
}
4037

@@ -110,19 +107,6 @@ func NewMetrics(
110107
Buckets: prometheus.DefBuckets,
111108
}, []string{"status"}),
112109

113-
blocksDeleted: promauto.With(r).NewCounter(prometheus.CounterOpts{
114-
Namespace: metricsNamespace,
115-
Subsystem: metricsSubsystem,
116-
Name: "blocks_deleted_total",
117-
Help: "Number of blocks deleted",
118-
}),
119-
metasDeleted: promauto.With(r).NewCounter(prometheus.CounterOpts{
120-
Namespace: metricsNamespace,
121-
Subsystem: metricsSubsystem,
122-
Name: "metas_deleted_total",
123-
Help: "Number of metas deleted",
124-
}),
125-
126110
tenantsDiscovered: promauto.With(r).NewCounter(prometheus.CounterOpts{
127111
Namespace: metricsNamespace,
128112
Subsystem: metricsSubsystem,

0 commit comments

Comments
 (0)