mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
calculate API requests/error as increase() intervals not as rate()
This commit is contained in:
parent
410b8dd0fd
commit
90e505e58f
@ -1539,7 +1539,7 @@
|
||||
"targets": [
|
||||
{
|
||||
"exemplar": true,
|
||||
"expr": "sum by (server,api) (rate(minio_s3_requests_total{job=\"$scrape_jobs\"}[$__rate_interval]))",
|
||||
"expr": "sum by (server,api) (increase(minio_s3_requests_total{job=\"$scrape_jobs\"}[$__rate_interval]))",
|
||||
"interval": "1m",
|
||||
"intervalFactor": 2,
|
||||
"legendFormat": "{{server,api}}",
|
||||
@ -1635,7 +1635,7 @@
|
||||
"targets": [
|
||||
{
|
||||
"exemplar": true,
|
||||
"expr": "rate(minio_s3_requests_errors_total{job=\"$scrape_jobs\"}[$__rate_interval])",
|
||||
"expr": "sum by (server,api) (increase(minio_s3_requests_errors_total{job=\"$scrape_jobs\"}[$__rate_interval]))",
|
||||
"interval": "1m",
|
||||
"intervalFactor": 2,
|
||||
"legendFormat": "{{server,api}}",
|
||||
@ -2671,4 +2671,4 @@
|
||||
"title": "MinIO Overview",
|
||||
"uid": "TgmJnqnnk",
|
||||
"version": 18
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user