Skip to content

Commit

Permalink
pkg/metrics: make the golang gc mpanel more readable (#56039)
Browse files Browse the repository at this point in the history
ref #55390
  • Loading branch information
XuHuaiyu committed Sep 12, 2024
1 parent 8fb9eed commit d6db1e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/metrics/grafana/tidb_runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -2146,7 +2146,7 @@
"targets": [
{
"exemplar": true,
"expr": "irate(go_gc_cycles_automatic_gc_cycles_total{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[30s])",
"expr": "increase(go_gc_cycles_automatic_gc_cycles_total{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])",
"format": "time_series",
"hide": false,
"instant": false,
Expand All @@ -2158,7 +2158,7 @@
},
{
"exemplar": true,
"expr": "irate(go_gc_cycles_forced_gc_cycles_total{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[30s])",
"expr": "increase(go_gc_cycles_forced_gc_cycles_total{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])",
"format": "time_series",
"hide": false,
"instant": false,
Expand All @@ -2170,7 +2170,7 @@
},
{
"exemplar": true,
"expr": "irate(go_gc_cycles_total_gc_cycles_total{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[30s])",
"expr": "increase(go_gc_cycles_total_gc_cycles_total{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])",
"format": "time_series",
"hide": false,
"instant": false,
Expand Down

0 comments on commit d6db1e8

Please sign in to comment.