fix: object size distribution in metrics for all objects (#16539)

This commit is contained in:
Harshavardhana 2023-02-05 10:40:10 +05:30 committed by GitHub
parent 517fcd423d
commit e47a31f9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -564,7 +564,7 @@
"targets": [
{
"exemplar": true,
"expr": "max by (range) (minio_bucket_objects_size_distribution{job=\"$scrape_jobs\"})",
"expr": "max by (range) (sum (minio_bucket_objects_size_distribution{job=\"$scrape_jobs\"}) by (range))",
"format": "time_series",
"instant": false,
"interval": "",

View File

@ -438,7 +438,7 @@
"targets": [
{
"exemplar": true,
"expr": "max by (range) (minio_bucket_objects_size_distribution{job=\"$scrape_jobs\"})",
"expr": "max by (range) (sum (minio_bucket_objects_size_distribution{job=\"$scrape_jobs\"}) by (range))",
"format": "time_series",
"instant": false,
"interval": "",