diff --git a/pkg/kv/kvserver/metrics.go b/pkg/kv/kvserver/metrics.go index f148958f19f4..2db17c9777e8 100644 --- a/pkg/kv/kvserver/metrics.go +++ b/pkg/kv/kvserver/metrics.go @@ -2308,9 +2308,11 @@ func newStoreMetrics(histogramWindow time.Duration) *StoreMetrics { rdbLevelSize := storageLevelGaugeSlice(metaRdbLevelSize) rdbLevelScore := storageLevelGaugeFloat64Slice(metaRdbLevelScores) + tsm := newTenantsStorageMetrics() + storeRegistry.AddMetricStruct(tsm) sm := &StoreMetrics{ registry: storeRegistry, - TenantsStorageMetrics: newTenantsStorageMetrics(), + TenantsStorageMetrics: tsm, LoadSplitterMetrics: &split.LoadSplitterMetrics{ PopularKeyCount: metric.NewCounter(metaPopularKeyCount), NoSplitKeyCount: metric.NewCounter(metaNoSplitKeyCount),