Skip to content

Commit

Permalink
metrics: fix wrong value in the sync load QPS (pingcap#53559)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei authored and ti-chi-bot committed May 27, 2024
1 parent b511a45 commit 9ff76dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -14277,7 +14277,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 @@ -14287,7 +14287,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 9ff76dc

Please sign in to comment.