-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a Grafana dashaboard for LIO metrics
- Loading branch information
1 parent
06a2df7
commit f44b24d
Showing
3 changed files
with
365 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
351 changes: 351 additions & 0 deletions
351
kubernetes/cray-sysmgmt-health/dashboards_json/iscsi/iscsi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,351 @@ | ||
{ | ||
"__inputs": [ | ||
{ | ||
"name": "DS_PROMETHEUS", | ||
"label": "victorismetrics", | ||
"description": "", | ||
"type": "datasource", | ||
"pluginId": "prometheus", | ||
"pluginName": "Prometheus" | ||
} | ||
], | ||
"__elements": {}, | ||
"__requires": [ | ||
{ | ||
"type": "grafana", | ||
"id": "grafana", | ||
"name": "Grafana", | ||
"version": "11.0.0" | ||
}, | ||
{ | ||
"type": "datasource", | ||
"id": "prometheus", | ||
"name": "Prometheus", | ||
"version": "1.0.0" | ||
}, | ||
{ | ||
"type": "panel", | ||
"id": "timeseries", | ||
"name": "Time series", | ||
"version": "" | ||
} | ||
], | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": null, | ||
"links": [], | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${DS_PROMETHEUS}" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "palette-classic" | ||
}, | ||
"custom": { | ||
"axisBorderShow": false, | ||
"axisCenteredZero": false, | ||
"axisColorMode": "text", | ||
"axisLabel": "", | ||
"axisPlacement": "auto", | ||
"barAlignment": 0, | ||
"drawStyle": "line", | ||
"fillOpacity": 0, | ||
"gradientMode": "none", | ||
"hideFrom": { | ||
"legend": false, | ||
"tooltip": false, | ||
"viz": false | ||
}, | ||
"insertNulls": false, | ||
"lineInterpolation": "linear", | ||
"lineWidth": 1, | ||
"pointSize": 5, | ||
"scaleDistribution": { | ||
"type": "linear" | ||
}, | ||
"showPoints": "auto", | ||
"spanNulls": false, | ||
"stacking": { | ||
"group": "A", | ||
"mode": "none" | ||
}, | ||
"thresholdsStyle": { | ||
"mode": "off" | ||
} | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 10, | ||
"w": 12, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 2, | ||
"options": { | ||
"legend": { | ||
"calcs": [], | ||
"displayMode": "list", | ||
"placement": "bottom", | ||
"showLegend": true | ||
}, | ||
"tooltip": { | ||
"maxHeight": 600, | ||
"mode": "single", | ||
"sort": "none" | ||
} | ||
}, | ||
"pluginVersion": "11.0.0", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${DS_PROMETHEUS}" | ||
}, | ||
"editorMode": "code", | ||
"expr": "sum by (lun) (iscsi_read_rate {instance=\"$node:9100\", lun=~\"lun.*\"})", | ||
"instant": false, | ||
"legendFormat": "{{lun}}", | ||
"range": true, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Lun Read Rate", | ||
"type": "timeseries" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${DS_PROMETHEUS}" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "palette-classic" | ||
}, | ||
"custom": { | ||
"axisBorderShow": false, | ||
"axisCenteredZero": false, | ||
"axisColorMode": "text", | ||
"axisLabel": "", | ||
"axisPlacement": "auto", | ||
"barAlignment": 0, | ||
"drawStyle": "line", | ||
"fillOpacity": 0, | ||
"gradientMode": "none", | ||
"hideFrom": { | ||
"legend": false, | ||
"tooltip": false, | ||
"viz": false | ||
}, | ||
"insertNulls": false, | ||
"lineInterpolation": "linear", | ||
"lineWidth": 1, | ||
"pointSize": 5, | ||
"scaleDistribution": { | ||
"type": "linear" | ||
}, | ||
"showPoints": "auto", | ||
"spanNulls": false, | ||
"stacking": { | ||
"group": "A", | ||
"mode": "none" | ||
}, | ||
"thresholdsStyle": { | ||
"mode": "off" | ||
} | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"matcher": { | ||
"id": "byName", | ||
"options": "lun_3" | ||
}, | ||
"properties": [ | ||
{ | ||
"id": "color", | ||
"value": { | ||
"fixedColor": "semi-dark-purple", | ||
"mode": "fixed" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"gridPos": { | ||
"h": 10, | ||
"w": 12, | ||
"x": 12, | ||
"y": 0 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"legend": { | ||
"calcs": [], | ||
"displayMode": "list", | ||
"placement": "bottom", | ||
"showLegend": true | ||
}, | ||
"tooltip": { | ||
"maxHeight": 600, | ||
"mode": "single", | ||
"sort": "none" | ||
} | ||
}, | ||
"pluginVersion": "11.0.0", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${DS_PROMETHEUS}" | ||
}, | ||
"editorMode": "code", | ||
"exemplar": false, | ||
"expr": "sum by (instance) (iscsi_read_rate {instance=\"$node:9100\"})", | ||
"format": "time_series", | ||
"hide": false, | ||
"instant": false, | ||
"legendFormat": "$nodename", | ||
"range": true, | ||
"refId": "A" | ||
} | ||
], | ||
"title": "Aggregate Lun read rate", | ||
"type": "timeseries" | ||
} | ||
], | ||
"schemaVersion": 39, | ||
"tags": [], | ||
"templating": { | ||
"list": [ | ||
{ | ||
"current": {}, | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${DS_PROMETHEUS}" | ||
}, | ||
"definition": "label_values(node_uname_info,nodename)", | ||
"hide": 0, | ||
"includeAll": false, | ||
"label": "nodename", | ||
"multi": false, | ||
"name": "nodename", | ||
"options": [], | ||
"query": { | ||
"qryType": 1, | ||
"query": "label_values(node_uname_info,nodename)", | ||
"refId": "PrometheusVariableQueryEditor-VariableQuery" | ||
}, | ||
"refresh": 1, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"sort": 0, | ||
"type": "query" | ||
}, | ||
{ | ||
"current": {}, | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${DS_PROMETHEUS}" | ||
}, | ||
"definition": "label_values(node_uname_info{nodename=\"$nodename\"},instance)", | ||
"hide": 2, | ||
"includeAll": false, | ||
"multi": false, | ||
"name": "node", | ||
"options": [], | ||
"query": { | ||
"qryType": 1, | ||
"query": "label_values(node_uname_info{nodename=\"$nodename\"},instance)", | ||
"refId": "PrometheusVariableQueryEditor-VariableQuery" | ||
}, | ||
"refresh": 1, | ||
"regex": "/([^:]+):.*/", | ||
"skipUrlSync": false, | ||
"sort": 0, | ||
"type": "query" | ||
}, | ||
{ | ||
"current": { | ||
"selected": false, | ||
"text": "victorismetrics", | ||
"value": "P1EB0681B67ED710F" | ||
}, | ||
"hide": 2, | ||
"includeAll": false, | ||
"label": "prometheus", | ||
"multi": false, | ||
"name": "DS_PROMETHEUS", | ||
"options": [], | ||
"query": "prometheus", | ||
"refresh": 1, | ||
"regex": "", | ||
"skipUrlSync": false, | ||
"type": "datasource" | ||
} | ||
] | ||
}, | ||
"time": { | ||
"from": "now-24h", | ||
"to": "now" | ||
}, | ||
"timeRangeUpdatedDuringEditOrView": false, | ||
"timepicker": {}, | ||
"timezone": "browser", | ||
"title": "ISCSI", | ||
"uid": "cdyrar4wc0dfkf", | ||
"version": 4, | ||
"weekStart": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters