Skip to content

Commit d799d8e

Browse files
committed
server: export distsender metrics from SQL pods
This commit exports the DistSender timeseries metrics from SQL pods. Epic: None Release note: None
1 parent f2e63a4 commit d799d8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/server/tenant.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,7 @@ func makeTenantSQLServerArgs(
10891089
TestingKnobs: dsKnobs,
10901090
}
10911091
ds := kvcoord.NewDistSender(dsCfg)
1092+
registry.AddMetricStruct(ds.Metrics())
10921093

10931094
var clientKnobs kvcoord.ClientTestingKnobs
10941095
if p, ok := baseCfg.TestingKnobs.KVClient.(*kvcoord.ClientTestingKnobs); ok {

0 commit comments

Comments
 (0)