diff --git a/conf/glances-grafana.json b/conf/glances-grafana.json index 3ca4c35c..48a44c11 100644 --- a/conf/glances-grafana.json +++ b/conf/glances-grafana.json @@ -18,7 +18,7 @@ { "title": "Core", "error": false, - "span": 1, + "span": 2, "editable": true, "type": "singlestat", "id": 5, @@ -68,7 +68,7 @@ }, { "id": 4, - "span": 11, + "span": 10, "type": "graph", "x-axis": true, "y-axis": true, @@ -182,7 +182,7 @@ "x-axis": true, "y-axis": true, "y_formats": [ - "short", + "percent", "short" ], "grid": { @@ -263,7 +263,7 @@ "x-axis": true, "y-axis": true, "y_formats": [ - "short", + "bytes", "short" ], "grid": { @@ -410,7 +410,7 @@ "x-axis": true, "y-axis": true, "y_formats": [ - "short", + "bytes", "short" ], "grid": { @@ -468,6 +468,156 @@ "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 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 asc", + "alias": "Write", + "fill": "null" + } + ], + "aliasColors": {}, + "seriesOverrides": [], + "links": [] + }, + { + "title": "/ Size", + "error": false, + "span": 6, + "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 asc", + "alias": "Used", + "fill": "null" + }, + { + "target": "", + "function": "mean", + "column": "\"/.size\"", + "series": "fs", + "query": "select mean(\"/.size\") from \"fs\" where $timeFilter group by time($interval) fill(null) order asc", + "alias": "Max", + "fill": "null" + } + ], + "aliasColors": {}, + "seriesOverrides": [], + "links": [] + } + ] } ], "nav": [