diff --git a/pkg/mcs/resourcemanager/server/manager.go b/pkg/mcs/resourcemanager/server/manager.go index df237bd0feb..1731faf8af1 100644 --- a/pkg/mcs/resourcemanager/server/manager.go +++ b/pkg/mcs/resourcemanager/server/manager.go @@ -363,7 +363,7 @@ func (m *Manager) backgroundMetricsFlush(ctx context.Context) { if consumption == nil { continue } - ruLabelType := tidbTypeLabel + ruLabelType := defaultTypeLabel if consumptionInfo.isBackground { ruLabelType = backgroundTypeLabel } diff --git a/pkg/mcs/resourcemanager/server/metrics.go b/pkg/mcs/resourcemanager/server/metrics.go index 184eddc8ef9..25d0516d269 100644 --- a/pkg/mcs/resourcemanager/server/metrics.go +++ b/pkg/mcs/resourcemanager/server/metrics.go @@ -26,8 +26,8 @@ const ( readTypeLabel = "read" writeTypeLabel = "write" backgroundTypeLabel = "background" - tiflashTypeLabel = "tiflash" - tidbTypeLabel = "tidb" + tiflashTypeLabel = "ap" + defaultTypeLabel = "tp" ) var (