Skip to content

Commit

Permalink
infoschema: fix PromQL for tidb_distsql_copr_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 committed Jul 22, 2022
1 parent 121a666 commit 3d69297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infoschema/metric_table_def.go
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@ var MetricTableMap = map[string]MetricTableDef{
},
"tidb_distsql_copr_cache": {
Comment: "The total count of TiDB distsql coprocessor cache",
PromQL: "sum(rate(tidb_distsql_copr_cache{$LABEL_CONDITIONS}[$RANGE_DURATION])) by (type,instance))",
PromQL: "sum(rate(tidb_distsql_copr_cache{$LABEL_CONDITIONS}[$RANGE_DURATION])) by (type,instance)",
Labels: []string{"instance", "type"},
},
"tidb_execute_total_count": {
Expand Down

0 comments on commit 3d69297

Please sign in to comment.