{ "__inputs": [ { "name": "DS_OPENEBS_PROMETHEUS", "label": "OpenEBS Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.5.2" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "" }, { "type": "panel", "id": "text", "name": "Text", "version": "" } ], "annotations": { "list": [] }, "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": null, "links": [ { "icon": "info", "tags": [], "targetBlank": true, "title": "OpenEBS Docs", "tooltip": "OpenEBS Documentation", "type": "link", "url": "http://openebs.readthedocs.io/en/latest/" } ], "refresh": false, "rows": [ { "collapse": false, "height": 328, "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "${DS_OPENEBS_PROMETHEUS}", "description": "Elapsed time since Volume was provisioned", "format": "m", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 10, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 3, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "expr": "OpenEBS_volume_uptime{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}/60", "format": "time_series", "hide": false, "intervalFactor": 2, "refId": "A", "step": 30 } ], "thresholds": "", "title": "Uptime", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 81, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "datasource": "${DS_OPENEBS_PROMETHEUS}", "description": "Capacity Used by the Volume", "format": "decgbytes", "gauge": { "maxValue": 5, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": false }, "id": 2, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 3, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": true, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "__name__", "targets": [ { "expr": "OpenEBS_actual_used{openebs_pv=~\"$OpenEBS\"}", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "", "refId": "A", "step": 30 } ], "thresholds": "4,5", "title": "Capacity", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "${DS_OPENEBS_PROMETHEUS}", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 12, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 3, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { "expr": "OpenEBS_actual_used{openebs_pv=~\"$OpenEBS\"}", "format": "time_series", "intervalFactor": 1, "refId": "A", "step": 15 } ], "thresholds": "", "timeFrom": "2h", "timeShift": null, "title": "Storage Usage", "type": "singlestat", "hideTimeOverride": true, "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "content": "\nOpenEBS\n\n
You're monitoring OpenEBS Volumes using Prometheus. For more information, check out the OpenEBS and Prometheus projects. If you would like to retain this volume monitoring data and much more, sign-up for MayaOnline
", "id": 11, "links": [], "mode": "html", "span": 3, "title": "", "transparent": true, "type": "text" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Dashboard Row", "titleSize": "h6" }, { "collapse": false, "height": 275, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_OPENEBS_PROMETHEUS}", "description": "IOPS", "fill": 1, "id": 3, "legend": { "alignAsTable": true, "avg": true, "current": false, "rightSide": true, "sideWidth": 350, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 12, "stack": true, "steppedLine": false, "targets": [ { "expr": "OpenEBS_read_iops{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "{{Reads}}", "refId": "A", "step": 2 }, { "expr": "OpenEBS_write_iops{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{Writes}}", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "IOPS", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "IOPS Graph", "titleSize": "h6" }, { "collapse": false, "height": 275, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_OPENEBS_PROMETHEUS}", "description": "Throughput", "fill": 1, "id": 9, "legend": { "alignAsTable": true, "avg": true, "current": false, "rightSide": true, "sideWidth": 350, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 12, "stack": true, "steppedLine": false, "targets": [ { "expr": "OpenEBS_read_block_count_per_second{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}/(1024*1024)", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "{{Read Throughput}}", "refId": "A", "step": 2 }, { "expr": "OpenEBS_write_block_count_per_second{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}/(1024*1024)", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "{{Write Throughput}}", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Throughput", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "MBs", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Throughput Graph", "titleSize": "h6" }, { "collapse": false, "height": 275, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_OPENEBS_PROMETHEUS}", "description": "Latency", "fill": 1, "id": 5, "legend": { "alignAsTable": true, "avg": true, "current": false, "rightSide": true, "sideWidth": 350, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 12, "stack": true, "steppedLine": false, "targets": [ { "expr": "OpenEBS_read_latency{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "{{Read Latency}}", "refId": "A", "step": 2 }, { "expr": "OpenEBS_write_latency{job=\"openebs-volumes\", openebs_pv=~\"$OpenEBS\"}", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "{{Write Latency}}", "refId": "B", "step": 2 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Latency", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Latency Graph", "titleSize": "h6" } ], "schemaVersion": 14, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_OPENEBS_PROMETHEUS}", "hide": 0, "includeAll": false, "label": "OpenEBS Volume", "multi": false, "name": "OpenEBS", "options": [], "query": "label_values(OpenEBS_size_of_volume, openebs_pv)", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "OpenEBS Volume Stats", "version": 2 }