diff --git a/pkg/server/tenant.go b/pkg/server/tenant.go index c42fca7c77c9..2d25abc8bb6b 100644 --- a/pkg/server/tenant.go +++ b/pkg/server/tenant.go @@ -1089,6 +1089,7 @@ func makeTenantSQLServerArgs( TestingKnobs: dsKnobs, } ds := kvcoord.NewDistSender(dsCfg) + registry.AddMetricStruct(ds.Metrics()) var clientKnobs kvcoord.ClientTestingKnobs if p, ok := baseCfg.TestingKnobs.KVClient.(*kvcoord.ClientTestingKnobs); ok {