Skip to content

Commit

Permalink
Merge branch 'master' into disksing/metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
disksing authored Sep 22, 2023
2 parents d9c7ac7 + 301b917 commit 34430ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/mcs/resourcemanager/server/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ func (m *Manager) backgroundMetricsFlush(ctx context.Context) {
if consumption == nil {
continue
}
ruLabelType := tidbTypeLabel
ruLabelType := defaultTypeLabel
if consumptionInfo.isBackground {
ruLabelType = backgroundTypeLabel
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/mcs/resourcemanager/server/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const (
readTypeLabel = "read"
writeTypeLabel = "write"
backgroundTypeLabel = "background"
tiflashTypeLabel = "tiflash"
tidbTypeLabel = "tidb"
tiflashTypeLabel = "ap"
defaultTypeLabel = "tp"
)

var (
Expand Down

0 comments on commit 34430ea

Please sign in to comment.