Skip to content

Commit

Permalink
feat: add panel for Other IOPs on Volume Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Aug 3, 2023
1 parent a8edbc2 commit 0e11487
Showing 1 changed file with 123 additions and 8 deletions.
131 changes: 123 additions & 8 deletions grafana/dashboards/cmode/volume.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1687429656268,
"iteration": 1691050019799,
"links": [
{
"asDropdown": true,
Expand Down Expand Up @@ -269,6 +269,7 @@
"pluginVersion": "8.1.8",
"targets": [
{
"exemplar": false,
"expr": "sum(topk($TopResources, volume_total_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"}))",
"interval": "",
"legendFormat": "",
Expand Down Expand Up @@ -549,7 +550,7 @@
],
"timeFrom": null,
"timeShift": null,
"title": "Top $TopResources Volumes by IOPs",
"title": "Top $TopResources Volumes by Total IOPs",
"transformations": [],
"type": "timeseries"
},
Expand Down Expand Up @@ -2279,8 +2280,8 @@
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"h": 9,
"w": 8,
"x": 0,
"y": 33
},
Expand Down Expand Up @@ -2375,9 +2376,9 @@
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"h": 9,
"w": 8,
"x": 8,
"y": 33
},
"id": 114,
Expand Down Expand Up @@ -2415,6 +2416,97 @@
}
],
"type": "timeseries"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "iops"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 33
},
"id": 115,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.8",
"targets": [
{
"exemplar": false,
"expr": "topk($TopResources, volume_other_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$TopVolumeOtherIOPS\"})",
"interval": "",
"legendFormat": "{{svm}} - {{volume}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top $TopResources Volumes by Other IOPs",
"transformations": [],
"type": "timeseries"
}
],
"title": "Volume WAFL Layer Drilldown",
Expand Down Expand Up @@ -6846,6 +6938,29 @@
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result(topk($TopResources, avg_over_time(volume_other_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"}[${__range}])))",
"description": null,
"error": null,
"hide": 2,
"includeAll": true,
"label": null,
"multi": true,
"name": "TopVolumeOtherIOPS",
"options": [],
"query": {
"query": "query_result(topk($TopResources, avg_over_time(volume_other_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"}[${__range}])))",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": ".*volume=\\\"(.*?)\\\".*",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
Expand All @@ -6869,5 +6984,5 @@
"timezone": "",
"title": "ONTAP: Volume",
"uid": "",
"version": 13
"version": 14
}

0 comments on commit 0e11487

Please sign in to comment.