mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
fix: grafana double counting for bucket usage, histrogram and objects (#11070)
This commit is contained in:
@@ -307,7 +307,7 @@
|
|||||||
"pluginVersion": "7.2.0",
|
"pluginVersion": "7.2.0",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum without (bucket,instance) (bucket_usage_size)",
|
"expr": "topk(1, sum(bucket_usage_size) by (instance))",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"interval": "1m",
|
"interval": "1m",
|
||||||
@@ -370,7 +370,7 @@
|
|||||||
"steppedLine": false,
|
"steppedLine": false,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum without (bucket,instance) (bucket_usage_size)",
|
"expr": "topk(1, sum(bucket_usage_size) by (instance))",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "Total Storage Used",
|
"legendFormat": "Total Storage Used",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -467,7 +467,7 @@
|
|||||||
"pluginVersion": "7.2.0",
|
"pluginVersion": "7.2.0",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum without (instance,bucket) (bucket_objects_histogram)",
|
"expr": "max by (object_size) (bucket_objects_histogram)",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
@@ -1136,7 +1136,7 @@
|
|||||||
"pluginVersion": "7.2.0",
|
"pluginVersion": "7.2.0",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(bucket_objects_count)",
|
"expr": "topk(1, sum(bucket_objects_count) by (instance))",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"interval": "1m",
|
"interval": "1m",
|
||||||
@@ -2023,4 +2023,4 @@
|
|||||||
"title": "MinIO Overview",
|
"title": "MinIO Overview",
|
||||||
"uid": "pJnnS4hZz",
|
"uid": "pJnnS4hZz",
|
||||||
"version": 190
|
"version": 190
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user