Skip to content

Commit 441f95c

Browse files
authored
metrics: fix bad estimate-inuse (#42062) (#42071)
ref #42057
1 parent 3144a46 commit 441f95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics/grafana/tidb_runtime.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"refId": "A"
143143
},
144144
{
145-
"expr": "go_memstats_next_gc_bytes{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / (1 + tidb_server_gogc{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 100)",
145+
"expr": "go_memstats_alloc_bytes{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
146146
"format": "time_series",
147147
"hide": false,
148148
"intervalFactor": 1,

0 commit comments

Comments
 (0)