From ef6bd55c90a4229dbf818806bb4055bfb7b6e685 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Thu, 29 Oct 2015 19:02:56 +0100 Subject: [PATCH] Update Grafana Dashboard for Grafana 2.5 and InfluxDB 0.9.4 --- conf/glances-grafana.json | 2429 ++++++++++++++++++++++--------------- 1 file changed, 1453 insertions(+), 976 deletions(-) diff --git a/conf/glances-grafana.json b/conf/glances-grafana.json index 9b6c4870..cc1d8312 100644 --- a/conf/glances-grafana.json +++ b/conf/glances-grafana.json @@ -10,47 +10,12 @@ "sharedCrosshair": false, "rows": [ { - "title": "test", - "height": "250px", - "editable": true, "collapse": false, + "editable": true, + "height": "250px", "panels": [ { - "title": "Core", - "error": false, - "span": 1, - "editable": true, - "type": "singlestat", - "id": 5, - "links": [], - "maxDataPoints": 100, - "interval": null, - "targets": [ - { - "function": "mean", - "column": "cpucore", - "series": "load", - "query": "select mean(cpucore) from \"load\" where $timeFilter group by time($interval) order by asc" - } - ], "cacheTimeout": null, - "format": "none", - "prefix": "", - "postfix": "", - "nullText": null, - "valueMaps": [ - { - "value": "null", - "op": "=", - "text": "N/A" - } - ], - "nullPointMode": "connected", - "valueName": "avg", - "prefixFontSize": "50%", - "valueFontSize": "80%", - "postfixFontSize": "50%", - "thresholds": "", "colorBackground": false, "colorValue": false, "colors": [ @@ -58,146 +23,210 @@ "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], + "datasource": "glances", + "editable": true, + "error": false, + "format": "none", + "id": 5, + "interval": null, + "links": [], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "span": 1, "sparkline": { - "show": false, + "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "fillColor": "rgba(31, 118, 189, 0.18)" - }, - "datasource": "glances" - }, - { - "id": 4, - "span": 10, - "type": "graph", - "x-axis": true, - "y-axis": true, - "scale": 1, - "y_formats": [ - "short", - "short" - ], - "grid": { - "max": null, - "min": null, - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)", - "thresholdLine": false - }, - "resolution": 100, - "lines": true, - "fill": 1, - "linewidth": 2, - "points": false, - "pointradius": 5, - "bars": false, - "stack": true, - "spyable": true, - "options": false, - "legend": { - "show": true, - "values": true, - "min": true, - "max": true, - "current": false, - "total": false, - "avg": true, - "rightSide": false, - "alignAsTable": false - }, - "interactive": true, - "legend_counts": true, - "timezone": "browser", - "percentage": false, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "query_as_alias": true, - "shared": false + "show": false }, "targets": [ { - "target": "randomWalk('random walk')", + "column": "cpucore", "function": "mean", - "column": "min1", + "query": "SELECT mean(\"cpucore\") AS \"cpucore\" FROM \"load\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", "series": "load", - "query": "select mean(min1) from \"load\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "1min", - "fill": "null" - }, - { - "target": "", - "function": "mean", - "column": "min5", - "series": "load", - "query": "select mean(min5) from \"load\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "5mins", - "fill": "null" - }, - { - "target": "", - "function": "mean", - "column": "min15", - "series": "load", - "query": "select mean(min15) from \"load\" where $timeFilter group by time($interval) fill(null) order by asc", - "fill": "null", - "alias": "15mins" + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "cpucore", + "func": "mean" + } + ], + "measurement": "load" } ], + "thresholds": "", + "title": "Core", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, + { "aliasColors": {}, "aliasYAxis": {}, - "title": "Load", - "datasource": "glances", - "renderer": "flot", "annotate": { "enable": false }, - "seriesOverrides": [], - "links": [] - }, - { - "title": "Processes", - "error": false, - "span": 1, - "editable": true, - "type": "singlestat", - "id": 18, + "bars": false, + "datasource": "glances", + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "max": null, + "min": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)", + "thresholdLine": false + }, + "id": 4, + "interactive": true, + "legend": { + "alignAsTable": false, + "avg": true, + "current": false, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "legend_counts": true, + "lines": true, + "linewidth": 2, "links": [], - "maxDataPoints": 100, - "interval": null, + "nullPointMode": "connected", + "options": false, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "resolution": 100, + "scale": 1, + "seriesOverrides": [], + "span": 10, + "spyable": true, + "stack": true, + "steppedLine": false, "targets": [ { + "alias": "1min", + "column": "min1", + "fill": "null", "function": "mean", - "column": "total", - "series": "processcount", - "query": "select mean(total) from \"processcount\" where $timeFilter group by time($interval) order by asc" - } - ], - "cacheTimeout": null, - "format": "none", - "prefix": "", - "postfix": "", - "nullText": null, - "valueMaps": [ + "query": "SELECT mean(\"min1\") AS \"min1\" FROM \"load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "A", + "series": "load", + "target": "randomWalk('random walk')", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "min1", + "func": "mean" + } + ], + "measurement": "load" + }, { - "value": "null", - "op": "=", - "text": "N/A" + "alias": "5mins", + "column": "min5", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"min5\") AS \"min5\" FROM \"load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "B", + "series": "load", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "min5", + "func": "mean" + } + ], + "measurement": "load" + }, + { + "alias": "15mins", + "column": "min15", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"min15\") AS \"min15\" FROM \"load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "C", + "series": "load", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "min15", + "func": "mean" + } + ], + "measurement": "load" } ], - "nullPointMode": "connected", - "valueName": "avg", - "prefixFontSize": "50%", - "valueFontSize": "80%", - "postfixFontSize": "50%", - "thresholds": "", + "timeFrom": null, + "timeShift": null, + "timezone": "browser", + "title": "Load", + "tooltip": { + "query_as_alias": true, + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ @@ -205,929 +234,1376 @@ "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], + "datasource": null, + "editable": true, + "error": false, + "format": "none", + "id": 18, + "interval": null, + "links": [], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "span": 1, "sparkline": { - "show": true, + "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "fillColor": "rgba(31, 118, 189, 0.18)" - } + "show": true + }, + "targets": [ + { + "column": "total", + "function": "mean", + "query": "SELECT mean(\"total\") AS \"total\" FROM \"processcount\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "processcount", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "total", + "func": "mean" + } + ], + "measurement": "processcount" + } + ], + "thresholds": "", + "title": "Processes", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" } - ] + ], + "title": "test" }, { - "title": "New row", - "height": "250px", - "editable": true, "collapse": false, + "editable": true, + "height": "250px", "panels": [ { - "title": "CPU (%)", - "error": false, - "span": 6, - "editable": true, - "type": "graph", - "id": 6, + "aliasColors": {}, + "bars": false, "datasource": "glances", + "editable": true, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 6, + "legend": { + "avg": true, + "current": false, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "User", + "column": "user", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"user\") AS \"user\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "A", + "series": "cpu", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "user", + "func": "mean" + } + ], + "measurement": "cpu" + }, + { + "alias": "System", + "column": "system", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"system\") AS \"system\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "B", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "system", + "func": "mean" + } + ], + "measurement": "cpu" + }, + { + "alias": "IoWait", + "column": "iowait", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"iowait\") AS \"iowait\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "C", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "iowait", + "func": "mean" + } + ], + "measurement": "cpu" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU (%)", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", "x-axis": true, "y-axis": true, "y_formats": [ "percent", "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": true, - "max": true, - "current": false, - "total": false, - "avg": true, - "rightSide": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "user", - "series": "cpu", - "query": "select mean(user) from \"cpu\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "User", - "fill": "null" - }, - { - "target": "", - "function": "mean", - "column": "system", - "series": "cpu", - "query": "select mean(system) from \"cpu\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "System", - "fill": "null" - }, - { - "target": "", - "function": "mean", - "column": "iowait", - "series": "cpu", - "query": "select mean(iowait) from \"cpu\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "IoWait", - "fill": "null" - } - ], - "aliasColors": {}, - "seriesOverrides": [], - "links": [] + ] }, { - "title": "MEM", - "error": false, - "span": 6, - "editable": true, - "type": "graph", - "id": 7, + "aliasColors": {}, + "bars": false, "datasource": "glances", + "editable": true, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Used", + "column": "used", + "function": "mean", + "query": "SELECT mean(\"used\") AS \"used\" FROM \"mem\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "mem", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "used", + "func": "mean" + } + ], + "measurement": "mem" + }, + { + "alias": "Max", + "column": "total", + "function": "mean", + "query": "SELECT mean(\"free\") AS \"free\" FROM \"memswap\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "B", + "series": "mem", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "free", + "func": "mean" + } + ], + "measurement": "memswap" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "MEM", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", "x-axis": true, "y-axis": true, "y_formats": [ "bytes", "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "used", - "series": "mem", - "query": "select mean(used) from \"mem\" where $timeFilter group by time($interval) order by asc", - "alias": "Used" - }, - { - "target": "", - "function": "mean", - "column": "total", - "series": "mem", - "query": "select mean(total) from \"mem\" where $timeFilter group by time($interval) order by asc", - "alias": "Max" - } - ], - "aliasColors": {}, - "seriesOverrides": [], - "links": [] + ] } - ] + ], + "title": "New row" }, { - "title": "New row", - "height": "250px", - "editable": true, "collapse": false, + "editable": true, + "height": "250px", "panels": [ { - "title": "Net (Enp0s25)", - "error": false, - "span": 6, - "editable": true, - "type": "graph", - "id": 9, + "aliasColors": {}, + "bars": false, "datasource": "glances", + "editable": true, + "error": false, + "fill": 3, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Rx", + "column": "enp0s25.rx", + "fill": "null", + "function": "mean", + "interval": "", + "query": "SELECT mean(\"wlan0.rx\") AS \"wlan0.rx\" FROM \"network\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "A", + "series": "network", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "wlan0.rx", + "func": "mean" + } + ], + "measurement": "network" + }, + { + "alias": "Tx", + "column": "enp0s25.tx*-1", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"wlan0.tx\") AS \"wlan0.tx\" FROM \"network\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "B", + "series": "network", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "wlan0.tx", + "func": "mean" + } + ], + "measurement": "network" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Net (wlan0)", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", "x-axis": true, "y-axis": true, "y_formats": [ "bps", "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 3, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "enp0s25.rx", - "series": "network", - "query": "select mean(enp0s25.rx) from \"network\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "Rx", - "interval": "", - "fill": "null" - }, - { - "target": "", - "function": "mean", - "column": "enp0s25.tx*-1", - "series": "network", - "query": "select mean(enp0s25.tx*-1) from \"network\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "Tx", - "fill": "null" - } - ], - "aliasColors": {}, - "seriesOverrides": [], - "links": [] + ] }, { - "title": "SWAP", - "error": false, - "span": 6, + "aliasColors": {}, + "bars": false, + "datasource": "glances", "editable": true, - "type": "graph", + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, "id": 8, - "datasource": "glances", - "renderer": "flot", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, - "fill": 0, "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, + "links": [], "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "used", - "series": "memswap", - "query": "select mean(used) from \"memswap\" where $timeFilter group by time($interval) order by asc", - "alias": "Used" - }, - { - "target": "", - "function": "mean", - "column": "total", - "series": "memswap", - "query": "select mean(total) from \"memswap\" where $timeFilter group by time($interval) order by asc", - "alias": "Max" - } - ], - "aliasColors": {}, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", "seriesOverrides": [], - "links": [] - } - ] - }, - { - "title": "New row", - "height": "250px", - "editable": true, - "collapse": false, - "panels": [ - { - "title": "sda2 disk IO", - "error": false, "span": 6, - "editable": true, - "type": "graph", - "id": 10, - "datasource": "glances", - "renderer": "flot", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, "targets": [ { - "function": "mean", - "column": "sda2.read_bytes", - "series": "diskio", - "query": "select mean(sda2.read_bytes) from \"diskio\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "Read", - "fill": "null" - }, - { - "target": "", - "function": "mean", - "column": "sda2.write_bytes", - "series": "diskio", - "query": "select mean(sda2.write_bytes) from \"diskio\" where $timeFilter group by time($interval) fill(null) order by asc", - "alias": "Write", - "fill": "null" - } - ], - "aliasColors": {}, - "seriesOverrides": [], - "links": [] - }, - { - "title": "/ Size", - "error": false, - "span": 4, - "editable": true, - "type": "graph", - "id": 11, - "datasource": "glances", - "renderer": "flot", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "\"/.used\"", - "series": "fs", - "query": "select mean(\"/.used\") from \"fs\" where $timeFilter group by time($interval) fill(null) order by asc", "alias": "Used", - "fill": "null" + "column": "used", + "function": "mean", + "query": "SELECT mean(\"used\") AS \"used\" FROM \"memswap\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "memswap", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "used", + "func": "mean" + } + ], + "measurement": "memswap" }, { - "target": "", - "function": "mean", - "column": "\"/.size\"", - "series": "fs", - "query": "select mean(\"/.size\") from \"fs\" where $timeFilter group by time($interval) fill(null) order by asc", "alias": "Max", - "fill": "null" - } - ], - "aliasColors": {}, - "seriesOverrides": [], - "links": [] - }, - { - "title": "/ used", - "error": false, - "span": 1, - "editable": true, - "type": "singlestat", - "id": 16, - "links": [], - "maxDataPoints": 100, - "interval": null, - "targets": [ - { + "column": "total", "function": "mean", - "column": "\"/.percent\"", - "series": "fs", - "query": "select mean(\"/.percent\") from \"fs\" where $timeFilter group by time($interval) order by asc" + "query": "SELECT mean(\"total\") AS \"total\" FROM \"memswap\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "B", + "series": "memswap", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "total", + "func": "mean" + } + ], + "measurement": "memswap" } ], - "cacheTimeout": null, - "format": "percent", - "prefix": "", - "postfix": "", - "nullText": null, - "valueMaps": [ - { - "value": "null", - "op": "=", - "text": "N/A" - } - ], - "nullPointMode": "connected", - "valueName": "avg", - "prefixFontSize": "50%", - "valueFontSize": "80%", - "postfixFontSize": "50%", - "thresholds": "0,70,90", - "colorBackground": true, - "colorValue": false, - "colors": [ - "rgba(71, 212, 59, 0.4)", - "rgba(245, 150, 40, 0.73)", - "rgba(225, 40, 40, 0.59)" - ], - "sparkline": { - "show": true, - "full": false, - "lineColor": "rgb(193, 71, 31)", - "fillColor": "rgba(31, 118, 189, 0.18)" - } - }, - { - "title": "/home used", - "error": false, - "span": 1, - "editable": true, - "type": "singlestat", - "id": 17, - "links": [], - "maxDataPoints": 100, - "interval": null, - "targets": [ - { - "function": "mean", - "column": "\"/home.percent\"", - "series": "fs", - "query": "select mean(\"/home.percent\") from \"fs\" where $timeFilter group by time($interval) order by asc" - } - ], - "cacheTimeout": null, - "format": "percent", - "prefix": "", - "postfix": "", - "nullText": null, - "valueMaps": [ - { - "value": "null", - "op": "=", - "text": "N/A" - } - ], - "nullPointMode": "connected", - "valueName": "avg", - "prefixFontSize": "50%", - "valueFontSize": "80%", - "postfixFontSize": "50%", - "thresholds": "0,70,90", - "colorBackground": true, - "colorValue": false, - "colors": [ - "rgba(71, 212, 59, 0.4)", - "rgba(245, 150, 40, 0.73)", - "rgba(225, 40, 40, 0.59)" - ], - "sparkline": { - "show": true, - "full": false, - "lineColor": "rgb(193, 71, 31)", - "fillColor": "rgba(31, 118, 189, 0.18)" - } + "timeFrom": null, + "timeShift": null, + "title": "SWAP", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "bytes", + "short" + ] } - ] + ], + "title": "New row" }, { - "title": "New row", - "height": "25px", - "editable": true, "collapse": false, - "panels": [ - { - "title": "CPU details", - "error": false, - "span": 12, - "editable": true, - "type": "text", - "id": 13, - "mode": "text", - "content": "", - "style": {}, - "links": [] - } - ] - }, - { - "title": "New row", + "editable": true, "height": "250px", - "editable": true, - "collapse": false, "panels": [ { - "title": "CPU user", - "error": false, - "span": 12, + "aliasColors": {}, + "bars": false, + "datasource": "glances", "editable": true, - "type": "graph", - "id": 12, - "datasource": null, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Read", + "column": "sda2.read_bytes", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"sda2.read_bytes\") AS \"sda2.read_bytes\" FROM \"diskio\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "A", + "series": "diskio", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "sda2.read_bytes", + "func": "mean" + } + ], + "measurement": "diskio" + }, + { + "alias": "Write", + "column": "sda2.write_bytes", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"sda2.write_bytes\") AS \"sda2.write_bytes\" FROM \"diskio\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "B", + "series": "diskio", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "sda2.write_bytes", + "func": "mean" + } + ], + "measurement": "diskio" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "sda2 disk IO", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", "x-axis": true, "y-axis": true, "y_formats": [ - "short", + "bytes", "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "user", - "series": "cpu", - "query": "select mean(user) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "mean" - }, - { - "target": "", - "function": "min", - "column": "user", - "series": "cpu", - "query": "select min(user) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "min" - }, - { - "target": "", - "function": "max", - "column": "user", - "series": "cpu", - "query": "select max(user) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "max" - } - ], - "aliasColors": { - "max": "#890F02" - }, - "seriesOverrides": [ - { - "alias": "max", - "fillBelowTo": "min", - "lines": false - }, - { - "alias": "min", - "lines": false - }, - { - "alias": "mean", - "zindex": 3, - "linewidth": 2 - } - ], - "links": [] + ] }, { - "title": "CPU system", - "error": false, - "span": 12, + "aliasColors": {}, + "bars": false, + "datasource": "glances", "editable": true, - "type": "graph", - "id": 14, - "datasource": null, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": 0, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, "renderer": "flot", + "seriesOverrides": [], + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Used", + "column": "\"/.used\"", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"/.used\") AS \"/.used\" FROM \"fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "A", + "series": "fs", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "/.used", + "func": "mean" + } + ], + "measurement": "fs" + }, + { + "alias": "Max", + "column": "\"/.size\"", + "fill": "null", + "function": "mean", + "query": "SELECT mean(\"/.size\") AS \"/.size\" FROM \"fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "B", + "series": "fs", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "/.size", + "func": "mean" + } + ], + "measurement": "fs" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "/ Size", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", "x-axis": true, "y-axis": true, "y_formats": [ - "short", + "bytes", "short" - ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, - "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false - }, - "targets": [ - { - "function": "mean", - "column": "system", - "series": "cpu", - "query": "select mean(system) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "mean" - }, - { - "target": "", - "function": "min", - "column": "system", - "series": "cpu", - "query": "select min(system) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "min" - }, - { - "target": "", - "function": "max", - "column": "system", - "series": "cpu", - "query": "select max(system) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "max" - } - ], - "aliasColors": { - "max": "#890F02" - }, - "seriesOverrides": [ - { - "alias": "max", - "fillBelowTo": "min", - "lines": false - }, - { - "alias": "min", - "lines": false - }, - { - "alias": "mean", - "zindex": 3, - "linewidth": 2 - } - ], - "links": [] + ] }, { - "title": "CPU iowait", - "error": false, - "span": 12, - "editable": true, - "type": "graph", - "id": 15, - "datasource": null, - "renderer": "flot", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" + "cacheTimeout": null, + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" ], - "grid": { - "leftMax": null, - "rightMax": null, - "leftMin": null, - "rightMin": null, - "threshold1": null, - "threshold2": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "lines": true, - "fill": 0, - "linewidth": 1, - "points": false, - "pointradius": 5, - "bars": false, - "stack": false, - "percentage": false, - "legend": { - "show": true, - "values": false, - "min": false, - "max": false, - "current": false, - "total": false, - "avg": false - }, + "datasource": null, + "editable": true, + "error": false, + "format": "percent", + "id": 16, + "interval": null, + "links": [], + "maxDataPoints": 100, "nullPointMode": "connected", - "steppedLine": false, - "tooltip": { - "value_type": "cumulative", - "shared": false + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "span": 1, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(193, 71, 31)", + "show": true }, "targets": [ { + "column": "\"/.percent\"", "function": "mean", - "column": "iowait", - "series": "cpu", - "query": "select mean(iowait) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "mean" - }, - { - "target": "", - "function": "min", - "column": "iowait", - "series": "cpu", - "query": "select min(iowait) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "min" - }, - { - "target": "", - "function": "max", - "column": "iowait", - "series": "cpu", - "query": "select max(iowait) from \"cpu\" where $timeFilter group by time($interval) order by asc", - "interval": "60s", - "alias": "max" + "query": "SELECT mean(\"/.percent\") AS \"/.percent\" FROM \"fs\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "fs", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "/.percent", + "func": "mean" + } + ], + "measurement": "fs" } ], - "aliasColors": { - "max": "#890F02" + "thresholds": "0,70,90", + "title": "/ used", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, + { + "cacheTimeout": null, + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "datasource": null, + "editable": true, + "error": false, + "format": "percent", + "id": 17, + "interval": null, + "links": [], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "span": 1, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(193, 71, 31)", + "show": true }, - "seriesOverrides": [ + "targets": [ { - "alias": "max", - "fillBelowTo": "min", - "lines": false - }, - { - "alias": "min", - "lines": false - }, - { - "alias": "mean", - "zindex": 3, - "linewidth": 2 + "column": "\"/home.percent\"", + "function": "mean", + "query": "SELECT mean(\"/boot/efi.percent\") AS \"/boot/efi.percent\" FROM \"fs\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "fs", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "/boot/efi.percent", + "func": "mean" + } + ], + "measurement": "fs" } ], - "links": [] + "thresholds": "0,70,90", + "title": "/boot used", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" } - ] - } - ], - "nav": [ + ], + "title": "New row" + }, { - "type": "timepicker", "collapse": false, - "enable": true, - "status": "Stable", - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" + "editable": true, + "height": "25px", + "panels": [ + { + "content": "", + "editable": true, + "error": false, + "id": 13, + "links": [], + "mode": "text", + "span": 12, + "style": {}, + "title": "CPU details", + "type": "text" + } ], - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" + "title": "New row" + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": { + "max": "#890F02" + }, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "max", + "fillBelowTo": "min", + "lines": false + }, + { + "alias": "min", + "lines": false + }, + { + "alias": "mean", + "linewidth": 2, + "zindex": 3 + } + ], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "mean", + "column": "user", + "function": "mean", + "interval": "60s", + "query": "SELECT mean(\"user\") AS \"user\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "cpu", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "user", + "func": "mean" + } + ], + "measurement": "cpu" + }, + { + "alias": "min", + "column": "user", + "function": "min", + "interval": "60s", + "query": "SELECT min(\"user\") AS \"user\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "B", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "user", + "func": "min" + } + ], + "measurement": "cpu" + }, + { + "alias": "max", + "column": "user", + "function": "max", + "interval": "60s", + "query": "SELECT max(\"user\") AS \"user\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "C", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "user", + "func": "max" + } + ], + "measurement": "cpu" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU user", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": { + "max": "#890F02" + }, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "max", + "fillBelowTo": "min", + "lines": false + }, + { + "alias": "min", + "lines": false + }, + { + "alias": "mean", + "linewidth": 2, + "zindex": 3 + } + ], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "mean", + "column": "system", + "function": "mean", + "interval": "60s", + "query": "SELECT mean(\"system\") AS \"system\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "cpu", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "system", + "func": "mean" + } + ], + "measurement": "cpu" + }, + { + "alias": "min", + "column": "system", + "function": "min", + "interval": "60s", + "query": "SELECT min(\"system\") AS \"system\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "B", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "system", + "func": "min" + } + ], + "measurement": "cpu" + }, + { + "alias": "max", + "column": "system", + "function": "max", + "interval": "60s", + "query": "SELECT max(\"system\") AS \"system\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "C", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "system", + "func": "max" + } + ], + "measurement": "cpu" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU system", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": { + "max": "#890F02" + }, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 0, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "max", + "fillBelowTo": "min", + "lines": false + }, + { + "alias": "min", + "lines": false + }, + { + "alias": "mean", + "linewidth": 2, + "zindex": 3 + } + ], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "mean", + "column": "iowait", + "function": "mean", + "interval": "60s", + "query": "SELECT mean(\"iowait\") AS \"iowait\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "series": "cpu", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "iowait", + "func": "mean" + } + ], + "measurement": "cpu" + }, + { + "alias": "min", + "column": "iowait", + "function": "min", + "interval": "60s", + "query": "SELECT min(\"iowait\") AS \"iowait\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "B", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "iowait", + "func": "min" + } + ], + "measurement": "cpu" + }, + { + "alias": "max", + "column": "iowait", + "function": "max", + "interval": "60s", + "query": "SELECT max(\"iowait\") AS \"iowait\" FROM \"cpu\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "C", + "series": "cpu", + "target": "", + "tags": [], + "groupBy": [ + { + "type": "time", + "interval": "auto" + } + ], + "fields": [ + { + "name": "iowait", + "func": "max" + } + ], + "measurement": "cpu" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU iowait", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + } ], - "now": true, - "notice": false + "title": "New row" } ], "time": { - "from": "now-12h", + "from": "now-30m", "to": "now" }, + "timepicker": { + "collapse": false, + "enable": true, + "notice": false, + "now": true, + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "status": "Stable", + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ], + "type": "timepicker" + }, "templating": { "list": [] }, @@ -1135,6 +1611,7 @@ "list": [] }, "refresh": false, - "version": 6, - "hideAllLegends": false + "schemaVersion": 7, + "version": 5, + "links": [] } \ No newline at end of file