Skip to content

Commit

Permalink
feat: add Disk and Tape Drives Throughput by Host Adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Dec 10, 2024
1 parent 7bade4a commit f8c830c
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions grafana/dashboards/cmode/disk.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1733818694570,
"iteration": 1733818694587,
"links": [
{
"asDropdown": true,
Expand Down Expand Up @@ -2627,15 +2627,15 @@
"targets": [
{
"exemplar": false,
"expr": "(\n sum by (datacenter,cluster,node,hostadapter) (hostadapter_bytes_written{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\"})\n)\nand on(datacenter,cluster,node,hostadapter)\ntopk(\n $TopResources,\n sum by (datacenter,cluster,node,hostadapter) (\n avg_over_time(hostadapter_bytes_written{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\"}[3h])\n )\n)",
"expr": "(\n sum by (datacenter,cluster,node,hostadapter) (hostadapter_bytes_written{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\",hostadapter=~\"$HostAdapter\"})\n)\nand on(datacenter,cluster,node,hostadapter)\ntopk(\n $TopResources,\n sum by (datacenter,cluster,node,hostadapter) (\n avg_over_time(hostadapter_bytes_written{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\",hostadapter=~\"$HostAdapter\"}[3h])\n )\n)",
"hide": false,
"interval": "",
"legendFormat": "{{node}} - {{hostadapter}} - WRITE",
"refId": "A"
},
{
"exemplar": false,
"expr": "(\n sum by (datacenter,cluster,node,hostadapter) (hostadapter_bytes_read{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\"})\n)\nand on(datacenter,cluster,node,hostadapter)\ntopk(\n $TopResources,\n sum by (datacenter,cluster,node,hostadapter) (\n avg_over_time(hostadapter_bytes_read{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\"}[3h])\n )\n)",
"expr": "(\n sum by (datacenter,cluster,node,hostadapter) (hostadapter_bytes_read{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\",hostadapter=~\"$HostAdapter\"})\n)\nand on(datacenter,cluster,node,hostadapter)\ntopk(\n $TopResources,\n sum by (datacenter,cluster,node,hostadapter) (\n avg_over_time(hostadapter_bytes_read{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\",node=~\"$Node\",hostadapter=~\"$HostAdapter\"}[3h])\n )\n)",
"hide": false,
"interval": "",
"legendFormat": "{{node}} - {{hostadapter}} - READ",
Expand Down Expand Up @@ -3149,7 +3149,7 @@
"options": [],
"query": {
"query": "label_values(disk_labels{system_type!=\"7mode\",cluster=~\"$Cluster\"}, node)",
"refId": "Prometheus-Node-Variable-Query"
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
Expand All @@ -3175,7 +3175,7 @@
"options": [],
"query": {
"query": "label_values(aggr_disk_busy{cluster=~\"$Cluster\",node=~\"$Node\"}, aggr)",
"refId": "Prometheus-Aggregate-Variable-Query"
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
Expand Down Expand Up @@ -3238,6 +3238,29 @@
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(hostadapter_bytes_read{system_type!=\"7mode\",cluster=~\"$Cluster\",node=~\"$Node\"}, hostadapter)",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "HostAdapter",
"options": [],
"query": {
"query": "label_values(hostadapter_bytes_read{system_type!=\"7mode\",cluster=~\"$Cluster\",node=~\"$Node\"}, hostadapter)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"allValue": null,
"current": {
Expand Down

0 comments on commit f8c830c

Please sign in to comment.