Skip to content

Commit

Permalink
metrics: Add Backfill task type and update metric query format (pingc…
Browse files Browse the repository at this point in the history
  • Loading branch information
okJiang authored Jan 10, 2024
1 parent b594935 commit 4ed493d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -14621,10 +14621,10 @@
"targets": [
{
"exemplar": true,
"expr": "tidb_disttask_task_status{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\"}",
"expr": "sum(tidb_disttask_task_status{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\"}) by (status, task_type)",
"hide": false,
"interval": "",
"legendFormat": "{{task_type}}_{{task_id}}_{{status}}",
"legendFormat": "{{task_type}}_{{status}}",
"queryType": "randomWalk",
"refId": "A"
}
Expand Down

0 comments on commit 4ed493d

Please sign in to comment.