Skip to content

Commit

Permalink
feat: Tenant Dashboard Buckets panel should include (#3101)
Browse files Browse the repository at this point in the history
an average sizer per object column

Thanks to @ofu48167 for the contribution!
Fixes: #3100
  • Loading branch information
cgrinds authored Aug 13, 2024
1 parent 82242e1 commit fd002ea
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions grafana/dashboards/storagegrid/tenant.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,13 @@
"mappings": [
{
"options": {
"NaN": {
"index": 0,
"match": "null+nan",
"result": {
"index": 1,
"text": "N/A"
}
},
"type": "value"
"type": "special"
}
],
"thresholds": {
Expand Down Expand Up @@ -402,7 +403,18 @@
"displayMode": "auto",
"filterable": true
},
"mappings": [],
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 1,
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
Expand Down Expand Up @@ -497,6 +509,18 @@
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Avg Size per Object"
},
"properties": [
{
"id": "unit",
"value": "decbytes"
}
]
}
]
},
Expand Down Expand Up @@ -579,6 +603,21 @@
"region": "Region"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Avg Size per Object",
"binary": {
"left": "Space Used",
"operator": "/",
"right": "Objects"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
}
],
"type": "table"
Expand Down Expand Up @@ -714,5 +753,5 @@
"timezone": "",
"title": "StorageGrid: Tenants",
"uid": "storagegrid-tenants",
"version": 3
"version": 4
}

0 comments on commit fd002ea

Please sign in to comment.