fix: incorrect expr for server stats in Grafana dashboard.json (#21098)

Signed-off-by: Minchao <minchao.220@gmail.com>
Co-authored-by: Dan Garfield <dan@codefresh.io>
This commit is contained in:
Minchao 2024-12-11 23:50:17 +08:00 committed by GitHub
parent 6a3cdb6ea5
commit 6897c2e33f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2883,7 +2883,7 @@
"datasource": {
"uid": "$datasource"
},
"expr": "go_memstats_heap_alloc_bytes{job=\"argocd-repo-server-metrics\",namespace=~\"$namespace\"}",
"expr": "go_memstats_heap_alloc_bytes{job=\"argocd-server-metrics\",namespace=~\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
@ -2968,7 +2968,7 @@
"datasource": {
"uid": "$datasource"
},
"expr": "go_goroutines{job=\"argocd-repo-server-metrics\",namespace=~\"$namespace\"}",
"expr": "go_goroutines{job=\"argocd-server-metrics\",namespace=~\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
@ -3270,7 +3270,7 @@
"datasource": {
"uid": "$datasource"
},
"expr": "go_gc_duration_seconds{job=\"argocd-repo-server-metrics\", quantile=\"1\", namespace=~\"$namespace\"}",
"expr": "go_gc_duration_seconds{job=\"argocd-server-metrics\", quantile=\"1\", namespace=~\"$namespace\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",