Skip to content

Commit

Permalink
metrics: fix wrong value in the sync load QPS (#53559) (#53571)
Browse files Browse the repository at this point in the history
close #53558
  • Loading branch information
ti-chi-bot authored May 27, 2024
1 parent a97e646 commit 0bbeb15
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 @@ -15197,7 +15197,7 @@
"targets": [
{
"exemplar": true,
"expr": "sum(rate(tidb_statistics_sync_load_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
"expr": "sum(increase(tidb_statistics_sync_load_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand All @@ -15207,7 +15207,7 @@
},
{
"exemplar": true,
"expr": "sum(rate(tidb_statistics_sync_load_timeout_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
"expr": "sum(increase(tidb_statistics_sync_load_timeout_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down

0 comments on commit 0bbeb15

Please sign in to comment.