diff --git a/dashboards/victoriametrics.json b/dashboards/victoriametrics.json index 5dc53d346a..a2c3a04181 100644 --- a/dashboards/victoriametrics.json +++ b/dashboards/victoriametrics.json @@ -2168,6 +2168,7 @@ "dashLength": 10, "dashes": false, "datasource": "$ds", + "description": "Shows average GC duration by instance", "fieldConfig": { "defaults": { "links": [] @@ -2211,7 +2212,7 @@ "steppedLine": false, "targets": [ { - "expr": "max(go_gc_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=\"1\"}) by(instance)", + "expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[5m])) by(instance)\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[5m])) by(instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}",