Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add I/O Density panels to Volume Dashboard #2805

Merged
merged 4 commits into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
219 changes: 209 additions & 10 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": 1710241850327,
"iteration": 1712154653652,
"links": [
{
"asDropdown": true,
Expand Down Expand Up @@ -2662,6 +2662,205 @@
"x": 0,
"y": 15
},
"id": 142,
"panels": [
{
"datasource": "${DS_PROMETHEUS}",
"description": "This panel displays the top k volumes with the highest I/O density within the selected time range. I/O density is calculated as the average number of I/O operations (IOPS) per terabyte of logical used space. Volumes with high I/O density are typically more active and may be critical for performance-sensitive applications.",
"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"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "iops"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 16
},
"id": 139,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.8",
"targets": [
{
"exemplar": false,
"expr": "(\n volume_total_ops{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}\n /\n clamp_min(\n volume_space_logical_used{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"} / 1099511627776,\n 1\n )\n)\nand\ntopk(\n $TopResources,\n (\n avg_over_time(\n volume_total_ops{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}[$__range] @ end()\n )\n /\n clamp_min(\n avg_over_time(\n volume_space_logical_used{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}[$__range] @ end()\n ) / 1099511627776,\n 1\n )\n )\n unless\n on(datacenter, cluster, svm, volume)\n volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\", root_volume=\"Yes\"}\n)",
"interval": "",
"legendFormat": "{{svm}} - {{volume}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top $TopResources Volumes by IO Density (IOPs/TiB)",
"transformations": [],
"type": "timeseries"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "This panel displays the bottom k volumes with the lowest I/O density over the selected time range, excluding any volumes with average IOPS below 50. I/O density is calculated as the average IOPS per terabyte of logical used space. These volumes are active but have relatively low I/O activity compared to their used capacity.",
"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"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "iops"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 16
},
"id": 140,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.8",
"targets": [
{
"exemplar": false,
"expr": "(\n volume_total_ops{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}\n /\n clamp_min(\n volume_space_logical_used{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"} / 1099511627776,\n 1\n )\n)\nand\nbottomk(\n $TopResources,\n (\n avg_over_time(\n volume_total_ops{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}[$__range] @ end()\n )\n /\n clamp_min(\n avg_over_time(\n volume_space_logical_used{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}[$__range] @ end()\n ) / 1099511627776,\n 1\n )\n )\n and\n on(datacenter, cluster, svm, volume)\n (\n volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\", root_volume!=\"Yes\"}\n * on(datacenter, cluster, svm, volume)\n avg_over_time(\n volume_total_ops{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}[$__range] @ end()\n ) > 50\n )\n)",
"interval": "",
"legendFormat": "{{svm}} - {{volume}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Bottom $TopResources Volumes by IO Density (IOPs/TiB)",
"transformations": [],
"type": "timeseries"
}
],
"title": "Volume I/O Density",
"type": "row"
},
{
"collapsed": true,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 66,
"panels": [
{
Expand Down Expand Up @@ -3424,7 +3623,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 16
"y": 17
},
"id": 46,
"panels": [
Expand Down Expand Up @@ -4451,7 +4650,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 17
"y": 18
},
"id": 70,
"panels": [
Expand Down Expand Up @@ -5194,7 +5393,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 18
"y": 19
},
"id": 71,
"panels": [
Expand Down Expand Up @@ -5683,7 +5882,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 19
"y": 20
},
"id": 92,
"panels": [
Expand Down Expand Up @@ -6155,7 +6354,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 20
"y": 21
},
"id": 99,
"panels": [
Expand Down Expand Up @@ -6550,7 +6749,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 21
"y": 22
},
"id": 98,
"panels": [
Expand Down Expand Up @@ -6830,7 +7029,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 22
"y": 23
},
"id": 105,
"panels": [
Expand Down Expand Up @@ -7139,7 +7338,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 23
"y": 24
},
"id": 135,
"panels": [
Expand Down Expand Up @@ -7660,5 +7859,5 @@
"timezone": "",
"title": "ONTAP: Volume",
"uid": "",
"version": 18
"version": 19
}