summaryrefslogtreecommitdiffstats
path: root/conf/glances-grafana.json
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2015-10-29 19:02:56 +0100
committernicolargo <nicolashennion@gmail.com>2015-10-29 19:02:56 +0100
commitef6bd55c90a4229dbf818806bb4055bfb7b6e685 (patch)
treedc4dbc7aaf2da623ba1ddee8d2638d89ef94eb9f /conf/glances-grafana.json
parent2448c0414576de5d5844e636fb940cbdcd4579b4 (diff)
Update Grafana Dashboard for Grafana 2.5 and InfluxDB 0.9.4
Diffstat (limited to 'conf/glances-grafana.json')
-rw-r--r--conf/glances-grafana.json1883
1 files changed, 1180 insertions, 703 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,701 +10,1031 @@
"sharedCrosshair": false,
"rows": [
{
- "title": "test",
- "height": "250px",
- "editable": true,
"collapse": false,
+ "editable": true,
+ "height": "250px",
"panels": [
{
- "title": "Core",
- "error": false,
- "span": 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,
- "type": "singlestat",
+ "error": false,
+ "format": "none",
"id": 5,
+ "interval": null,
"links": [],
"maxDataPoints": 100,
- "interval": null,
+ "nullPointMode": "connected",
+ "nullText": null,
+ "postfix": "",
+ "postfixFontSize": "50%",
+ "prefix": "",
+ "prefixFontSize": "50%",
+ "span": 1,
+ "sparkline": {
+ "fillColor": "rgba(31, 118, 189, 0.18)",
+ "full": false,
+ "lineColor": "rgb(31, 120, 193)",
+ "show": false
+ },
"targets": [
{
- "function": "mean",
"column": "cpucore",
+ "function": "mean",
+ "query": "SELECT mean(\"cpucore\") AS \"cpucore\" FROM \"load\" WHERE $timeFilter GROUP BY time($interval)",
+ "refId": "A",
"series": "load",
- "query": "select mean(cpucore) from \"load\" where $timeFilter group by time($interval) order by asc"
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "cpucore",
+ "func": "mean"
+ }
+ ],
+ "measurement": "load"
}
],
- "cacheTimeout": null,
- "format": "none",
- "prefix": "",
- "postfix": "",
- "nullText": null,
+ "thresholds": "",
+ "title": "Core",
+ "type": "singlestat",
+ "valueFontSize": "80%",
"valueMaps": [
{
- "value": "null",
"op": "=",
- "text": "N/A"
+ "text": "N/A",
+ "value": "null"
}
],
- "nullPointMode": "connected",
- "valueName": "avg",
- "prefixFontSize": "50%",
- "valueFontSize": "80%",
- "postfixFontSize": "50%",
- "thresholds": "",
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "sparkline": {
- "show": false,
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "fillColor": "rgba(31, 118, 189, 0.18)"
- },
- "datasource": "glances"
+ "valueName": "avg"
},
{
- "id": 4,
- "span": 10,
- "type": "graph",
- "x-axis": true,
- "y-axis": true,
- "scale": 1,
- "y_formats": [
- "short",
- "short"
- ],
+ "aliasColors": {},
+ "aliasYAxis": {},
+ "annotate": {
+ "enable": false
+ },
+ "bars": false,
+ "datasource": "glances",
+ "fill": 1,
"grid": {
+ "leftLogBase": 1,
+ "leftMax": null,
+ "leftMin": null,
"max": null,
"min": null,
- "leftMax": null,
+ "rightLogBase": 1,
"rightMax": null,
- "leftMin": null,
"rightMin": null,
"threshold1": null,
- "threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
+ "threshold2": null,
"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,
+ "id": 4,
+ "interactive": true,
"legend": {
- "show": true,
- "values": true,
- "min": true,
- "max": true,
- "current": false,
- "total": false,
+ "alignAsTable": false,
"avg": true,
+ "current": false,
+ "max": true,
+ "min": true,
"rightSide": false,
- "alignAsTable": false
+ "show": true,
+ "total": false,
+ "values": true
},
- "interactive": true,
"legend_counts": true,
- "timezone": "browser",
- "percentage": false,
+ "lines": true,
+ "linewidth": 2,
+ "links": [],
"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,
- "tooltip": {
- "value_type": "cumulative",
- "query_as_alias": true,
- "shared": false
- },
"targets": [
{
- "target": "randomWalk('random walk')",
- "function": "mean",
+ "alias": "1min",
"column": "min1",
+ "fill": "null",
+ "function": "mean",
+ "query": "SELECT mean(\"min1\") AS \"min1\" FROM \"load\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
+ "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": "randomWalk('random walk')",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "min1",
+ "func": "mean"
+ }
+ ],
+ "measurement": "load"
},
{
- "target": "",
- "function": "mean",
+ "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",
- "query": "select mean(min5) from \"load\" where $timeFilter group by time($interval) fill(null) order by asc",
- "alias": "5mins",
- "fill": "null"
+ "target": "",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "min5",
+ "func": "mean"
+ }
+ ],
+ "measurement": "load"
},
{
- "target": "",
- "function": "mean",
+ "alias": "15mins",
"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"
+ "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"
}
],
- "aliasColors": {},
- "aliasYAxis": {},
+ "timeFrom": null,
+ "timeShift": null,
+ "timezone": "browser",
"title": "Load",
- "datasource": "glances",
- "renderer": "flot",
- "annotate": {
- "enable": false
+ "tooltip": {
+ "query_as_alias": true,
+ "shared": false,
+ "value_type": "cumulative"
},
- "seriesOverrides": [],
- "links": []
+ "type": "graph",
+ "x-axis": true,
+ "y-axis": true,
+ "y_formats": [
+ "short",
+ "short"
+ ]
},
{
- "title": "Processes",
- "error": false,
- "span": 1,
+ "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": null,
"editable": true,
- "type": "singlestat",
+ "error": false,
+ "format": "none",
"id": 18,
+ "interval": null,
"links": [],
"maxDataPoints": 100,
- "interval": null,
+ "nullPointMode": "connected",
+ "nullText": null,
+ "postfix": "",
+ "postfixFontSize": "50%",
+ "prefix": "",
+ "prefixFontSize": "50%",
+ "span": 1,
+ "sparkline": {
+ "fillColor": "rgba(31, 118, 189, 0.18)",
+ "full": false,
+ "lineColor": "rgb(31, 120, 193)",
+ "show": true
+ },
"targets": [
{
- "function": "mean",
"column": "total",
+ "function": "mean",
+ "query": "SELECT mean(\"total\") AS \"total\" FROM \"processcount\" WHERE $timeFilter GROUP BY time($interval)",
+ "refId": "A",
"series": "processcount",
- "query": "select mean(total) from \"processcount\" where $timeFilter group by time($interval) order by asc"
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "total",
+ "func": "mean"
+ }
+ ],
+ "measurement": "processcount"
}
],
- "cacheTimeout": null,
- "format": "none",
- "prefix": "",
- "postfix": "",
- "nullText": null,
+ "thresholds": "",
+ "title": "Processes",
+ "type": "singlestat",
+ "valueFontSize": "80%",
"valueMaps": [
{
- "value": "null",
"op": "=",
- "text": "N/A"
+ "text": "N/A",
+ "value": "null"
}
],
- "nullPointMode": "connected",
- "valueName": "avg",
- "prefixFontSize": "50%",
- "valueFontSize": "80%",
- "postfixFontSize": "50%",
- "thresholds": "",
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "sparkline": {
- "show": true,
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "fillColor": "rgba(31, 118, 189, 0.18)"
- }
+ "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",
- "renderer": "flot",
- "x-axis": true,
- "y-axis": true,
- "y_formats": [
- "percent",
- "short"
- ],
+ "editable": true,
+ "error": false,
+ "fill": 0,
"grid": {
+ "leftLogBase": 1,
"leftMax": null,
- "rightMax": null,
"leftMin": null,
+ "rightLogBase": 1,
+ "rightMax": null,
"rightMin": null,
"threshold1": null,
- "threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
+ "threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
- "lines": true,
- "fill": 0,
- "linewidth": 1,
- "points": false,
- "pointradius": 5,
- "bars": false,
- "stack": false,
- "percentage": false,
+ "id": 6,
"legend": {
- "show": true,
- "values": false,
- "min": true,
- "max": true,
+ "avg": true,
"current": false,
+ "max": true,
+ "min": true,
+ "rightSide": false,
+ "show": true,
"total": false,
- "avg": true,
- "rightSide": 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,
- "tooltip": {
- "value_type": "cumulative",
- "shared": false
- },
"targets": [
{
- "function": "mean",
+ "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",
- "query": "select mean(user) from \"cpu\" where $timeFilter group by time($interval) fill(null) order by asc",
- "alias": "User",
- "fill": "null"
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "user",
+ "func": "mean"
+ }
+ ],
+ "measurement": "cpu"
},
{
- "target": "",
- "function": "mean",
+ "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",
- "query": "select mean(system) from \"cpu\" where $timeFilter group by time($interval) fill(null) order by asc",
- "alias": "System",
- "fill": "null"
+ "target": "",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "system",
+ "func": "mean"
+ }
+ ],
+ "measurement": "cpu"
},
{
- "target": "",
- "function": "mean",
+ "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",
- "query": "select mean(iowait) from \"cpu\" where $timeFilter group by time($interval) fill(null) order by asc",
- "alias": "IoWait",
- "fill": "null"
+ "target": "",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "iowait",
+ "func": "mean"
+ }
+ ],
+ "measurement": "cpu"
}
],
- "aliasColors": {},
- "seriesOverrides": [],
- "links": []
- },
- {
- "title": "MEM",
- "error": false,
- "span": 6,
- "editable": true,
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "CPU (%)",
+ "tooltip": {
+ "shared": false,
+ "value_type": "cumulative"
+ },
"type": "graph",
- "id": 7,
- "datasource": "glances",
- "renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
- "bytes",
+ "percent",
"short"
- ],
+ ]
+ },
+ {
+ "aliasColors": {},
+ "bars": false,
+ "datasource": "glances",
+ "editable": true,
+ "error": false,
+ "fill": 0,
"grid": {
+ "leftLogBase": 1,
"leftMax": null,
- "rightMax": null,
"leftMin": null,
+ "rightLogBase": 1,
+ "rightMax": null,
"rightMin": null,
"threshold1": null,
- "threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
+ "threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
- "lines": true,
- "fill": 0,
- "linewidth": 1,
- "points": false,
- "pointradius": 5,
- "bars": false,
- "stack": false,
- "percentage": false,
+ "id": 7,
"legend": {
- "show": true,
- "values": false,
- "min": false,
- "max": false,
+ "avg": false,
"current": false,
+ "max": false,
+ "min": false,
+ "show": true,
"total": false,
- "avg": 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,
- "tooltip": {
- "value_type": "cumulative",
- "shared": false
- },
"targets": [
{
- "function": "mean",
+ "alias": "Used",
"column": "used",
+ "function": "mean",
+ "query": "SELECT mean(\"used\") AS \"used\" FROM \"mem\" WHERE $timeFilter GROUP BY time($interval)",
+ "refId": "A",
"series": "mem",
- "query": "select mean(used) from \"mem\" where $timeFilter group by time($interval) order by asc",
- "alias": "Used"
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "used",
+ "func": "mean"
+ }
+ ],
+ "measurement": "mem"
},
{
- "target": "",
- "function": "mean",
+ "alias": "Max",
"column": "total",
+ "function": "mean",
+ "query": "SELECT mean(\"free\") AS \"free\" FROM \"memswap\" WHERE $timeFilter GROUP BY time($interval)",
+ "refId": "B",
"series": "mem",
- "query": "select mean(total) from \"mem\" where $timeFilter group by time($interval) order by asc",
- "alias": "Max"
+ "target": "",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "free",
+ "func": "mean"
+ }
+ ],
+ "measurement": "memswap"
}
],
- "aliasColors": {},
- "seriesOverrides": [],
- "links": []
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "MEM",
+ "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": "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",
- "renderer": "flot",
- "x-axis": true,
- "y-axis": true,
- "y_formats": [
- "bps",
- "short"
- ],
+ "editable": true,
+ "error": false,
+ "fill": 3,
"grid": {
+ "leftLogBase": 1,
"leftMax": null,
- "rightMax": null,
"leftMin": null,
+ "rightLogBase": 1,
+ "rightMax": null,
"rightMin": null,
"threshold1": null,
- "threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
+ "threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
- "lines": true,
- "fill": 3,
- "linewidth": 1,
- "points": false,
- "pointradius": 5,
- "bars": false,
- "stack": false,
- "percentage": false,
+ "id": 9,
"legend": {
- "show": true,
- "values": false,
- "min": false,
- "max": false,
+ "avg": false,
"current": false,
+ "max": false,
+ "min": false,
+ "show": true,
"total": false,
- "avg": 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,
- "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",
+ "column": "enp0s25.rx",
+ "fill": "null",
+ "function": "mean",
"interval": "",
- "fill": "null"
+ "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"
},
{
- "target": "",
- "function": "mean",
+ "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",
- "query": "select mean(enp0s25.tx*-1) from \"network\" where $timeFilter group by time($interval) fill(null) order by asc",
- "alias": "Tx",
- "fill": "null"
+ "target": "",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "wlan0.tx",
+ "func": "mean"
+ }
+ ],
+ "measurement": "network"
}
],
- "aliasColors": {},
- "seriesOverrides": [],
- "links": []
- },
- {
- "title": "SWAP",
- "error": false,
- "span": 6,
- "editable": true,
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Net (wlan0)",
+ "tooltip": {
+ "shared": false,
+ "value_type": "cumulative"
+ },
"type": "graph",
- "id": 8,
- "datasource": "glances",
- "renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
- "bytes",
+ "bps",
"short"
- ],
+ ]
+ },
+ {
+ "aliasColors": {},
+ "bars": false,
+ "datasource": "glances",
+ "editable": true,
+ "error": false,
+ "fill": 0,
"grid": {
+ "leftLogBase": 1,
"leftMax": null,
- "rightMax": null,
"leftMin": null,
+ "rightLogBase": 1,
+ "rightMax": null,
"rightMin": null,
"threshold1": null,
- "threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
+ "threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
- "lines": true,
- "fill": 0,
- "linewidth": 1,
- "points": false,
- "pointradius": 5,
- "bars": false,
- "stack": false,
- "percentage": false,
+ "id": 8,
"legend": {
- "show": true,
- "values": false,
- "min": false,
- "max": false,
+ "avg": false,
"current": false,
+ "max": false,
+ "min": false,
+ "show": true,
"total": false,
- "avg": 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,
- "tooltip": {
- "value_type": "cumulative",
- "shared": false
- },
"targets": [
{
- "function": "mean",
+ "alias": "Used",
"column": "used",
+ "function": "mean",
+ "query": "SELECT mean(\"used\") AS \"used\" FROM \"memswap\" WHERE $timeFilter GROUP BY time($interval)",
+ "refId": "A",
"series": "memswap",
- "query": "select mean(used) from \"memswap\" where $timeFilter group by time($interval) order by asc",
- "alias": "Used"
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "used",
+ "func": "mean"
+ }
+ ],
+ "measurement": "memswap"
},
{
- "target": "",
- "function": "mean",
+ "alias": "Max",
"column": "total",
+ "function": "mean",
+ "query": "SELECT mean(\"total\") AS \"total\" FROM \"memswap\" WHERE $timeFilter GROUP BY time($interval)",
+ "refId": "B",
"series": "memswap",
- "query": "select mean(total) from \"memswap\" where $timeFilter group by time($interval) order by asc",
- "alias": "Max"
+ "target": "",
+ "tags": [],
+ "groupBy": [
+ {
+ "type": "time",
+ "interval": "auto"
+ }
+ ],
+ "fields": [
+ {
+ "name": "total",
+ "func": "mean"
+ }
+ ],
+ "measurement": "memswap"
}
],
- "aliasColors": {},
- "seriesOverrides": [],
- "links": []
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "SWAP",
+ "tooltip": {
+ "shared": false,
+ "value_type": "cumulative"