Skip to content

Commit

Permalink
feat: add qtree,quota,workload counts to datacenter dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Jun 11, 2024
1 parent c25d63c commit f06f57a
Showing 1 changed file with 34 additions and 17 deletions.
51 changes: 34 additions & 17 deletions grafana/dashboards/cmode/datacenter.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1715072354966,
"iteration": 1718087696747,
"links": [
{
"asDropdown": true,
Expand Down Expand Up @@ -259,7 +259,7 @@
"overrides": []
},
"gridPos": {
"h": 14,
"h": 15,
"w": 7,
"x": 17,
"y": 1
Expand All @@ -280,6 +280,7 @@
"exemplar": false,
"expr": "sum(count(node_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}) by (cluster))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Nodes",
Expand Down Expand Up @@ -387,13 +388,29 @@
},
{
"exemplar": false,
"expr": "sum(count(shelf_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}) by (cluster))",
"expr": "sum(count(qtree_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}) by (cluster))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Shelves",
"legendFormat": "Qtree",
"refId": "L"
},
{
"exemplar": false,
"expr": "sum(count(quota_disk_limit{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}) by (cluster))",
"hide": false,
"interval": "",
"legendFormat": "Quotas",
"refId": "M"
},
{
"exemplar": false,
"expr": "sum(count(qos_workload_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}) by (cluster))",
"hide": false,
"interval": "",
"legendFormat": "Workloads",
"refId": "N"
}
],
"title": "Object Count",
Expand Down Expand Up @@ -444,7 +461,7 @@
"overrides": []
},
"gridPos": {
"h": 7,
"h": 8,
"w": 9,
"x": 0,
"y": 8
Expand Down Expand Up @@ -502,7 +519,7 @@
"overrides": []
},
"gridPos": {
"h": 7,
"h": 8,
"w": 8,
"x": 9,
"y": 8
Expand Down Expand Up @@ -595,7 +612,7 @@
"h": 10,
"w": 12,
"x": 0,
"y": 15
"y": 16
},
"id": 655,
"options": {
Expand Down Expand Up @@ -683,7 +700,7 @@
"h": 10,
"w": 12,
"x": 12,
"y": 15
"y": 16
},
"id": 656,
"options": {
Expand Down Expand Up @@ -771,7 +788,7 @@
"h": 10,
"w": 12,
"x": 0,
"y": 25
"y": 26
},
"id": 657,
"options": {
Expand Down Expand Up @@ -861,7 +878,7 @@
"h": 10,
"w": 12,
"x": 12,
"y": 25
"y": 26
},
"id": 658,
"options": {
Expand Down Expand Up @@ -897,7 +914,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 35
"y": 36
},
"id": 482,
"panels": [
Expand Down Expand Up @@ -1342,7 +1359,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 36
"y": 37
},
"id": 617,
"panels": [
Expand Down Expand Up @@ -1738,7 +1755,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 37
"y": 38
},
"id": 97,
"panels": [
Expand Down Expand Up @@ -2218,7 +2235,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 38
"y": 39
},
"id": 634,
"panels": [
Expand Down Expand Up @@ -2845,7 +2862,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 39
"y": 40
},
"id": 627,
"panels": [
Expand Down Expand Up @@ -3202,7 +3219,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 40
"y": 41
},
"id": 184,
"panels": [
Expand Down Expand Up @@ -4101,5 +4118,5 @@
"timezone": "",
"title": "ONTAP: Datacenter",
"uid": "cdot-datacenter",
"version": 2
"version": 10
}

0 comments on commit f06f57a

Please sign in to comment.