Skip to content

Commit

Permalink
fix: SVM CIFS total ops should sum all types of ops (#2853)
Browse files Browse the repository at this point in the history
* fix: SVM CIFS total ops should sum all types of ops

* fix: address review comments
  • Loading branch information
rahulguptajss committed Apr 25, 2024
1 parent a9bf11f commit 6405310
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions grafana/dashboards/cmode/svm.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1702493990302,
"iteration": 1714048726251,
"links": [
{
"asDropdown": true,
Expand Down Expand Up @@ -3956,7 +3956,7 @@
"h": 4,
"w": 8,
"x": 0,
"y": 4
"y": 21
},
"id": 99,
"options": {
Expand Down Expand Up @@ -4015,7 +4015,7 @@
"h": 4,
"w": 8,
"x": 8,
"y": 4
"y": 21
},
"id": 103,
"options": {
Expand All @@ -4037,7 +4037,7 @@
"targets": [
{
"exemplar": false,
"expr": "sum(svm_cifs_read_ops+svm_cifs_write_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"})",
"expr": "sum(svm_cifs_op_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
Expand All @@ -4048,7 +4048,7 @@
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"description": "SVM CIFS IOPs.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -4106,7 +4106,7 @@
"h": 8,
"w": 8,
"x": 16,
"y": 4
"y": 21
},
"id": 107,
"options": {
Expand Down Expand Up @@ -4181,7 +4181,7 @@
"h": 4,
"w": 4,
"x": 0,
"y": 8
"y": 25
},
"id": 100,
"options": {
Expand Down Expand Up @@ -4247,7 +4247,7 @@
"h": 4,
"w": 4,
"x": 4,
"y": 8
"y": 25
},
"id": 101,
"options": {
Expand Down Expand Up @@ -4305,7 +4305,7 @@
"h": 4,
"w": 4,
"x": 8,
"y": 8
"y": 25
},
"id": 104,
"options": {
Expand Down Expand Up @@ -4363,7 +4363,7 @@
"h": 4,
"w": 4,
"x": 12,
"y": 8
"y": 25
},
"id": 105,
"options": {
Expand Down Expand Up @@ -4453,7 +4453,7 @@
"h": 9,
"w": 8,
"x": 0,
"y": 12
"y": 29
},
"id": 102,
"options": {
Expand Down Expand Up @@ -4503,7 +4503,7 @@
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"description": "SVM CIFS IOPs.",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -4561,7 +4561,7 @@
"h": 9,
"w": 8,
"x": 8,
"y": 12
"y": 29
},
"id": 106,
"options": {
Expand All @@ -4583,17 +4583,25 @@
{
"exemplar": false,
"expr": "sum(svm_cifs_read_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"})",
"hide": false,
"interval": "",
"legendFormat": "Read",
"refId": "A"
"refId": "B"
},
{
"exemplar": false,
"expr": "sum(svm_cifs_write_ops{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"})",
"hide": false,
"interval": "",
"legendFormat": "Write",
"refId": "B"
"refId": "C"
},
{
"exemplar": false,
"expr": "sum(svm_cifs_op_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"})",
"interval": "",
"legendFormat": "Total",
"refId": "A"
}
],
"timeFrom": null,
Expand Down Expand Up @@ -4661,7 +4669,7 @@
"h": 9,
"w": 8,
"x": 16,
"y": 12
"y": 29
},
"id": 108,
"options": {
Expand Down Expand Up @@ -4751,7 +4759,7 @@
"h": 8,
"w": 8,
"x": 0,
"y": 21
"y": 38
},
"id": 242,
"options": {
Expand Down Expand Up @@ -4846,7 +4854,7 @@
"h": 8,
"w": 8,
"x": 8,
"y": 21
"y": 38
},
"id": 243,
"options": {
Expand Down Expand Up @@ -4942,7 +4950,7 @@
"h": 8,
"w": 8,
"x": 16,
"y": 21
"y": 38
},
"id": 244,
"options": {
Expand Down Expand Up @@ -14886,5 +14894,5 @@
"timezone": "",
"title": "ONTAP: SVM",
"uid": "",
"version": 25
"version": 26
}

0 comments on commit 6405310

Please sign in to comment.