diff options
author | nicolargo <nicolas@nicolargo.com> | 2018-04-02 21:54:47 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2018-04-02 21:54:47 +0200 |
commit | 5266a62d0c14353612b5866e791e05d7153d2282 (patch) | |
tree | 4d218af04e2ae3df92da5c0a7dba6c7e8a35a0d0 /conf | |
parent | 80db8225c4257889be303deeaa3872566bc7e387 (diff) |
New Grafana Dashboard
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances-grafana.json | 5408 |
1 files changed, 2784 insertions, 2624 deletions
diff --git a/conf/glances-grafana.json b/conf/glances-grafana.json index 5f93d927..d4033d06 100644 --- a/conf/glances-grafana.json +++ b/conf/glances-grafana.json @@ -1,55 +1,8 @@ { - "__inputs": [ - { - "name": "DS_GLANCES", - "label": "glances", - "description": "", - "type": "datasource", - "pluginId": "influxdb", - "pluginName": "InfluxDB" - } - ], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "4.6.0-beta3" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "panel", - "id": "heatmap", - "name": "Heatmap", - "version": "" - }, - { - "type": "datasource", - "id": "influxdb", - "name": "InfluxDB", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "singlestat", - "name": "Singlestat", - "version": "" - }, - { - "type": "panel", - "id": "text", - "name": "Text", - "version": "" - } - ], "annotations": { "list": [ { + "$$hashKey": "object:2676", "builtIn": 1, "datasource": "-- Grafana --", "enable": true, @@ -63,2812 +16,3018 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "hideControls": false, - "id": null, + "id": 2, + "iteration": 1522698566936, "links": [], - "refresh": false, - "rows": [ + "panels": [ { - "collapse": false, - "height": 229, - "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_GLANCES}", - "editable": true, - "error": false, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 5, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, + "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": "glances", + "editable": true, + "error": false, + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 6, + "w": 2, + "x": 0, + "y": 0 + }, + "id": 5, + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "column": "cpucore", + "dsType": "influxdb", + "function": "mean", + "groupBy": [ { - "name": "range to text", - "value": 2 + "params": [ + "auto" + ], + "type": "time" } ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } + "measurement": "localhost.load", + "query": "SELECT mean(\"cpucore\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "cpucore" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] ], - "span": 1, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ + "series": "load", + "tags": [] + } + ], + "thresholds": "", + "title": "Core", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, + { + "aliasColors": {}, + "annotate": { + "enable": false + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "glances", + "fill": 1, + "grid": { + "max": null, + "min": null + }, + "gridPos": { + "h": 6, + "w": 20, + "x": 2, + "y": 0 + }, + "id": 4, + "interactive": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "legend_counts": true, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "null", + "options": false, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "resolution": 100, + "scale": 1, + "seriesOverrides": [], + "spaceLength": 10, + "spyable": true, + "stack": true, + "steppedLine": false, + "targets": [ + { + "alias": "1min", + "column": "min1", + "dsType": "influxdb", + "function": "mean", + "groupBy": [ { - "column": "cpucore", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - } + "params": [ + "auto" ], - "measurement": "localhost.load", - "query": "SELECT mean(\"cpucore\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval)", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "cpucore" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "type": "time" + }, + { + "params": [ + "none" ], - "series": "load", - "tags": [] + "type": "fill" } ], - "thresholds": "", - "title": "Core", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } + "measurement": "localhost.load", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"min1\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "min1" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] ], - "valueName": "avg" + "series": "load", + "tags": [], + "target": "randomWalk('random walk')" }, { - "aliasColors": {}, - "annotate": { - "enable": false - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_GLANCES}", - "fill": 1, - "grid": { - "max": null, - "min": null - }, - "id": 4, - "interactive": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "legend_counts": true, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "null", - "options": false, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "resolution": 100, - "scale": 1, - "seriesOverrides": [], - "spaceLength": 10, - "span": 10, - "spyable": true, - "stack": true, - "steppedLine": false, - "targets": [ + "alias": "5mins", + "column": "min5", + "dsType": "influxdb", + "function": "mean", + "groupBy": [ { - "alias": "1min", - "column": "min1", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "localhost.load", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"min1\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "min1" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "params": [ + "auto" ], - "series": "load", - "tags": [], - "target": "randomWalk('random walk')" + "type": "time" }, { - "alias": "5mins", - "column": "min5", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "localhost.load", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"min5\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "min5" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "params": [ + "none" ], - "series": "load", - "tags": [], - "target": "" - }, - { - "alias": "15mins", - "column": "min15", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "localhost.load", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"min15\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "min15" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "series": "load", - "tags": [], - "target": "" + "type": "fill" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "timezone": "browser", - "title": "Load", - "tooltip": { - "query_as_alias": true, - "shared": false, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] + "measurement": "localhost.load", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"min5\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "min5" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "series": "load", + "tags": [], + "target": "" }, { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(50, 172, 45, 0.97)", - "rgba(237, 129, 40, 0.89)", - "rgba(245, 54, 54, 0.9)" - ], - "datasource": "${DS_GLANCES}", - "editable": true, - "error": false, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 18, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ + "alias": "15mins", + "column": "min15", + "dsType": "influxdb", + "function": "mean", + "groupBy": [ { - "name": "value to text", - "value": 1 + "params": [ + "auto" + ], + "type": "time" }, { - "name": "range to text", - "value": 2 + "params": [ + "none" + ], + "type": "fill" } ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } + "measurement": "localhost.load", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"min15\") FROM \"localhost.load\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "min15" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] ], - "span": 1, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ + "series": "load", + "tags": [], + "target": "" + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "timezone": "browser", + "title": "Load", + "tooltip": { + "query_as_alias": true, + "shared": false, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "datasource": "glances", + "editable": true, + "error": false, + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 6, + "w": 2, + "x": 22, + "y": 0 + }, + "id": 18, + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "column": "total", + "dsType": "influxdb", + "function": "mean", + "groupBy": [ { - "column": "total", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - } + "params": [ + "$__interval" ], - "measurement": "localhost.processcount", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"total\") FROM \"localhost.processcount\" WHERE $timeFilter GROUP BY time($interval)", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "total" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "series": "processcount", - "tags": [] + "type": "time" } ], - "thresholds": "", - "title": "Processes", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } + "measurement": "localhost.processcount", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"total\") FROM \"localhost.processcount\" WHERE $timeFilter GROUP BY time($interval)", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "total" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] ], - "valueName": "avg" + "series": "processcount", + "tags": [] } ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "test", - "titleSize": "h6" + "thresholds": "", + "title": "Processes", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" }, { - "collapse": false, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_GLANCES}", - "editable": true, - "error": false, - "fill": 0, - "grid": {}, - "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": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "User", - "column": "user", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "localhost.cpu", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "user" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "series": "cpu", - "tags": [] - }, + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "glances", + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 6 + }, + "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": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "User", + "column": "user", + "dsType": "influxdb", + "function": "mean", + "groupBy": [ { - "alias": "System", - "column": "system", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "localhost.cpu", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "system" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "params": [ + "auto" ], - "series": "cpu", - "tags": [], - "target": "" + "type": "time" }, { - "alias": "IoWait", - "column": "iowait", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "auto" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "localhost.cpu", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval) fill(null)", - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "iowait" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "params": [ + "none" ], - "series": "cpu", - "tags": [], - "target": "" + "type": "fill" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CPU (%)", - "tooltip": { - "shared": false, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes |