FIX(grafana): fix MinIO CPU Usage panel query
- Hardcode job=minio and 5m interval - Change unit from 's' to 'percentunit' - Set max to 1 for proper gauge display
This commit is contained in:
@@ -2242,8 +2242,9 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "s",
|
||||
"unitScale": true
|
||||
"unit": "percentunit",
|
||||
"unitScale": true,
|
||||
"max": 1
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
@@ -2278,7 +2279,7 @@
|
||||
},
|
||||
"editorMode": "code",
|
||||
"exemplar": true,
|
||||
"expr": "rate(minio_node_process_cpu_total_seconds{job=~\"$scrape_jobs\"}[$__rate_interval])",
|
||||
"expr": "rate(minio_node_process_cpu_total_seconds{job=\"minio\"}[5m])",
|
||||
"interval": "",
|
||||
"legendFormat": "{{server}}",
|
||||
"range": true,
|
||||
|
||||
Reference in New Issue
Block a user