glances/conf/glances-grafana.json

3187 lines
71 KiB
JSON
Raw Normal View History

2015-03-15 21:16:58 +03:00
{
2018-04-03 22:47:15 +03:00
"__inputs": [
{
"name": "DS_GLANCES",
"label": "glances",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.0.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": "5.0.0"
}
],
2017-10-25 11:01:33 +03:00
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
2018-04-03 22:47:15 +03:00
"id": null,
"iteration": 1522782995281,
2017-10-25 11:01:33 +03:00
"links": [],
2018-04-02 22:54:47 +03:00
"panels": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"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)"
],
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"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": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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"
}
]
2015-03-15 21:16:58 +03:00
],
2018-04-02 22:54:47 +03:00
"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,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"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": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "load",
"tags": [],
"target": "randomWalk('random walk')"
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "5mins",
"column": "min5",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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": ""
2015-03-20 15:03:01 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "15mins",
"column": "min15",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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"
}
]
2015-03-20 15:03:01 +03:00
],
2018-04-02 22:54:47 +03:00
"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)"
],
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"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": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "processcount",
"tags": []
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"thresholds": "",
"title": "Processes",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
2017-10-25 11:01:33 +03:00
},
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"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": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-20 15:03:01 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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": []
},
{
2018-04-02 22:54:47 +03:00
"alias": "System",
"column": "system",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
},
{
"alias": "IoWait",
"column": "iowait",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"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"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"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": [
{
"format": "percent",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"aliasColors": {
"Max": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 6
},
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": 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": "Used",
"column": "used",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
"type": "time"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.mem",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"used\") FROM \"localhost.mem\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"used"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "mem",
"tags": []
},
{
"alias": "Max",
"column": "total",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.mem",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"total\") FROM \"localhost.mem\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"total"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "mem",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "MEM",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
2018-04-02 22:54:47 +03:00
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 3,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 13
},
"id": 9,
"legend": {
"avg": true,
"current": false,
"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": [
{
"alias": "Tx",
2018-09-01 13:39:52 +03:00
"yaxis": 1
2018-04-02 22:54:47 +03:00
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
2018-09-01 13:39:52 +03:00
"alias": "In",
2018-04-02 22:54:47 +03:00
"column": "enp0s25.rx",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 21:16:58 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 21:16:58 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"null"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"interval": "",
"measurement": "localhost.network",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"$interface.rx\")/mean(\"$interface.time_since_update\")*8 FROM \"localhost.network\" WHERE $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"eth0.rx"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "network",
"tags": []
},
{
2018-09-01 13:39:52 +03:00
"alias": "Out",
2018-04-02 22:54:47 +03:00
"column": "eth0.tx*-1",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"null"
],
"type": "fill"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"measurement": "localhost.network",
"orderByTime": "ASC",
"policy": "default",
2018-09-01 13:39:52 +03:00
"query": "SELECT mean(\"$interface.tx\")/mean(\"$interface.time_since_update\")*8*-1 FROM \"localhost.network\" WHERE $timeFilter GROUP BY time($interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"eth0.tx"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "network",
"tags": [],
"target": ""
2015-03-15 21:16:58 +03:00
}
],
2018-04-02 22:54:47 +03:00
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "$interface network interface",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
2015-03-15 22:38:48 +03:00
},
{
2018-04-02 22:54:47 +03:00
"aliasColors": {
"Max": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 13
},
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": 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": "Used",
"column": "used",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 22:38:48 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.memswap",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"used\") FROM \"localhost.memswap\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"used"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "memswap",
"tags": []
},
{
"alias": "Max",
"column": "total",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
"type": "time"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"measurement": "localhost.memswap",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"total\") FROM \"localhost.memswap\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"total"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "memswap",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "SWAP",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
2018-04-02 22:54:47 +03:00
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 20
},
"id": 10,
"legend": {
"avg": true,
"current": false,
"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",
2018-09-01 13:39:52 +03:00
"seriesOverrides": [
{
"alias": "Write",
"yaxis": 2
}
],
2018-04-02 22:54:47 +03:00
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Read",
"column": "sda2.read_bytes",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-15 22:38:48 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2015-03-15 22:38:48 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-15 22:38:48 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.diskio",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"$disk.read_bytes\")/mean(\"$disk.time_since_update\") FROM \"localhost.diskio\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sda2.read_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "diskio",
"tags": []
2015-03-20 15:03:01 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "Write",
"column": "sda2.write_bytes",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.diskio",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"$disk.write_bytes\")/mean(\"$disk.time_since_update\") FROM \"localhost.diskio\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
2018-04-02 22:54:47 +03:00
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sda2.write_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2015-03-20 15:03:01 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "diskio",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "$disk disk IO",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "bytes",
2018-04-02 22:54:47 +03:00
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"Max": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 12,
"y": 20
},
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
2018-09-01 13:39:52 +03:00
"linewidth": 3,
2018-04-02 22:54:47 +03:00
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
2018-09-01 13:39:52 +03:00
"seriesOverrides": [
{
"alias": "Used",
"fill": 10
}
],
2018-04-02 22:54:47 +03:00
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Used",
"column": "\"/.used\"",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.fs",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"/.used\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"/.used"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "fs",
"tags": []
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "Max",
"column": "\"/.size\"",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
"type": "time"
2017-06-04 13:27:03 +03:00
},
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.fs",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"/.size\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"/.size"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "fs",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "/ Size",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"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)"
],
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 7,
"w": 2,
"x": 20,
"y": 20
},
"id": 16,
"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(193, 71, 31)",
"show": true
},
"tableColumn": "",
"targets": [
{
"column": "\"/.percent\"",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.fs",
"query": "SELECT mean(\"/.percent\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"/.percent"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
2017-06-04 13:27:03 +03:00
],
2018-04-02 22:54:47 +03:00
"series": "fs",
"tags": []
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"thresholds": "70,90",
"title": "/ used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"valueName": "avg"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"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)"
],
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 7,
"w": 2,
"x": 22,
"y": 20
},
"id": 17,
"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(193, 71, 31)",
"show": true
},
"tableColumn": "",
"targets": [
{
"column": "\"/home.percent\"",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2015-03-20 15:03:01 +03:00
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.fs",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"/boot/efi.percent\") FROM \"localhost.fs\" WHERE $timeFilter GROUP BY time($interval)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"/boot.percent"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "fs",
"tags": []
}
],
"thresholds": "70,90",
"title": "/boot used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"content": "",
"editable": true,
"error": false,
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 27
},
"id": 13,
"links": [],
"mode": "markdown",
"style": {},
"title": "Containers",
"type": "text"
},
{
"aliasColors": {
2018-09-01 13:39:52 +03:00
"CPU%": "#cca300",
"MEM": "#2f575e",
2018-04-02 22:54:47 +03:00
"localhost.docker.mean": "#ba43a9"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-09-01 13:39:52 +03:00
"fill": 0,
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 30
},
"id": 25,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
2018-09-01 13:39:52 +03:00
"show": true,
2018-04-02 22:54:47 +03:00
"total": false,
"values": false
},
"lines": true,
2018-09-01 13:39:52 +03:00
"linewidth": 2,
2018-04-02 22:54:47 +03:00
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "container",
"repeatDirection": "v",
2018-09-01 13:39:52 +03:00
"seriesOverrides": [
{
"alias": "localhost.docker.mean",
"fill": 0
},
{
"alias": "MEM",
"yaxis": 2
},
{
"alias": "MEM",
"fill": 10,
"steppedLine": true,
"zindex": -3
}
],
2018-04-02 22:54:47 +03:00
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
2018-09-01 13:39:52 +03:00
"alias": "CPU%",
2018-04-02 22:54:47 +03:00
"groupBy": [
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"hide": false,
"measurement": "localhost.docker",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"$container.cpu_percent\") FROM \"localhost.docker\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"grafana.cpu_percent"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
2018-09-01 13:39:52 +03:00
},
{
"alias": "MEM",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"$container.memory_usage\") FROM \"localhost.docker\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
2018-04-02 22:54:47 +03:00
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "$container container CPU consumption",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"content": "",
"editable": true,
"error": false,
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 38
},
"id": 26,
"links": [],
"mode": "markdown",
"style": {},
"title": "CPU details",
"type": "text"
},
{
"aliasColors": {
"max": "#890F02"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 41
},
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"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
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "mean",
"column": "user",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
}
],
2018-04-02 22:54:47 +03:00
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"user"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": []
},
{
"alias": "min",
"column": "user",
"dsType": "influxdb",
"function": "min",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
}
],
2018-04-02 22:54:47 +03:00
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT min(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"user"
],
"type": "field"
},
{
"params": [],
"type": "min"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
},
{
"alias": "max",
"column": "user",
"dsType": "influxdb",
"function": "max",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"null"
],
"type": "fill"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT max(\"user\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"user"
],
"type": "field"
},
{
"params": [],
"type": "max"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU user",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": null,
"min": null,
"show": true
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"max": "#890F02"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 45
},
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"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
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "mean",
"column": "system",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": []
},
{
"alias": "min",
"column": "system",
"dsType": "influxdb",
"function": "min",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
}
],
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT min(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system"
],
"type": "field"
},
{
"params": [],
"type": "min"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
},
{
"alias": "max",
"column": "system",
"dsType": "influxdb",
"function": "max",
"groupBy": [
{
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT max(\"system\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system"
],
"type": "field"
},
{
"params": [],
"type": "max"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU system",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"max": "#890F02"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 49
},
"id": 15,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"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
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "mean",
"column": "iowait",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2017-10-25 11:01:33 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2017-10-25 11:01:33 +03:00
}
2018-04-02 22:54:47 +03:00
],
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"iowait"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": []
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"alias": "min",
"column": "iowait",
"dsType": "influxdb",
"function": "min",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2015-03-20 15:03:01 +03:00
}
],
2018-04-02 22:54:47 +03:00
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT min(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"iowait"
],
"type": "field"
},
{
"params": [],
"type": "min"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
},
{
"alias": "max",
"column": "iowait",
"dsType": "influxdb",
"function": "max",
"groupBy": [
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
}
2018-04-02 22:54:47 +03:00
],
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT max(\"iowait\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"iowait"
],
"type": "field"
},
{
"params": [],
"type": "max"
}
]
],
"series": "cpu",
"tags": [],
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU iowait",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": null,
"min": null,
"show": true
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"max": "#890F02"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 53
},
"id": 19,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "mean",
"column": "iowait",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"none"
2017-10-25 11:01:33 +03:00
],
2018-04-02 22:54:47 +03:00
"type": "fill"
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"ctx_switches\") / mean(\"time_since_update\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"time_since_update"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Context switches",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"max": "#890F02"
},
"bars": false,
"dashLength": 10,
"dashes": false,
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 57
},
"id": 20,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "mean",
"column": "iowait",
"dsType": "influxdb",
"function": "mean",
"groupBy": [
2015-03-20 15:03:01 +03:00
{
2018-04-02 22:54:47 +03:00
"params": [
"auto"
],
"type": "time"
2017-10-25 11:01:33 +03:00
},
{
2018-04-02 22:54:47 +03:00
"params": [
"none"
],
"type": "fill"
2017-06-04 13:27:03 +03:00
}
2018-04-02 22:54:47 +03:00
],
"interval": "60s",
"measurement": "localhost.cpu",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"interrupts\") / mean(\"time_since_update\") FROM \"localhost.cpu\" WHERE $timeFilter GROUP BY time($interval)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"time_since_update"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"series": "cpu",
"tags": []
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Interrupts",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
2017-06-04 13:27:03 +03:00
},
{
2018-04-02 22:54:47 +03:00
"content": "",
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 61
},
"id": 22,
"links": [],
"mode": "markdown",
"title": "Sensors",
"type": "text"
2017-10-25 11:01:33 +03:00
},
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"cards": {
"cardPadding": null,
"cardRound": null
},
"color": {
"cardColor": "rgb(255, 0, 0)",
"colorScale": "sqrt",
"colorScheme": "interpolateReds",
"exponent": 1,
"mode": "opacity"
},
"dataFormat": "timeseries",
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 64
},
"heatmap": {},
"highlightCards": true,
"id": 21,
"legend": {
"show": false
},
"links": [],
"targets": [
{
"alias": "AmbientTemperature",
"dsType": "influxdb",
"groupBy": [
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"null"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.sensors",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"Ambient.value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
2017-06-04 13:27:03 +03:00
}
],
2018-04-02 22:54:47 +03:00
"title": "Ambiant temperature",
"tooltip": {
"show": true,
"showHistogram": false
},
"type": "heatmap",
"xAxis": {
"show": true
},
"xBucketNumber": null,
"xBucketSize": null,
"yAxis": {
"decimals": null,
"format": "celsius",
"logBase": 1,
"max": null,
"min": "0",
"show": true,
"splitFactor": null
},
"yBucketNumber": null,
"yBucketSize": null
2017-10-25 11:01:33 +03:00
},
2017-06-04 13:27:03 +03:00
{
2018-04-02 22:54:47 +03:00
"cards": {
"cardPadding": null,
"cardRound": null
},
"color": {
"cardColor": "rgb(255, 0, 0)",
"colorScale": "sqrt",
"colorScheme": "interpolateOranges",
"exponent": 1,
"mode": "opacity"
},
"dataFormat": "timeseries",
2018-04-03 22:47:15 +03:00
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 71
},
"heatmap": {},
"highlightCards": true,
"id": 23,
"legend": {
"show": false
},
"links": [],
"targets": [
{
"alias": "CpuTemperature",
"dsType": "influxdb",
"groupBy": [
{
2018-04-02 22:54:47 +03:00
"params": [
"$__interval"
],
2018-04-02 22:54:47 +03:00
"type": "time"
},
{
"params": [
"null"
],
2018-04-02 22:54:47 +03:00
"type": "fill"
}
],
2018-04-02 22:54:47 +03:00
"measurement": "localhost.sensors",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"CPU.value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
2015-03-15 22:38:48 +03:00
}
2015-03-15 21:16:58 +03:00
],
2018-04-02 22:54:47 +03:00
"title": "Cpu Temperature",
"tooltip": {
"show": true,
"showHistogram": false
},
"type": "heatmap",
"xAxis": {
"show": true
},
"xBucketNumber": null,
"xBucketSize": null,
"yAxis": {
"decimals": null,
"format": "celsius",
"logBase": 1,
"max": null,
"min": "0",
"show": true,
"splitFactor": null
},
"yBucketNumber": null,
"yBucketSize": null
2015-03-15 21:16:58 +03:00
}
],
2018-09-01 13:39:52 +03:00
"refresh": "5s",
2018-04-02 22:54:47 +03:00
"schemaVersion": 16,
2017-10-25 11:01:33 +03:00
"style": "dark",
"tags": [],
"templating": {
2018-04-02 22:54:47 +03:00
"list": [
{
"allValue": null,
2018-04-03 22:47:15 +03:00
"current": {},
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"hide": 0,
"includeAll": false,
"label": null,
2018-04-03 22:47:15 +03:00
"multi": false,
"name": "host",
"options": [],
"query": "show measurements",
"refresh": 1,
"regex": "/(.*)\\..*/",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_GLANCES}",
"hide": 0,
"includeAll": true,
"label": null,
2018-04-02 22:54:47 +03:00
"multi": true,
"name": "container",
"options": [],
2018-04-03 22:47:15 +03:00
"query": "show field keys on glances from \"$host.docker\"",
2018-04-02 22:54:47 +03:00
"refresh": 1,
"regex": "/(.*)\\..*/",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
2018-04-03 22:47:15 +03:00
"current": {},
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "interface",
"options": [],
2018-04-03 22:47:15 +03:00
"query": "show field keys on glances from \"$host.network\"",
2018-04-02 22:54:47 +03:00
"refresh": 1,
"regex": "/(.*)\\..*/",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
2018-04-03 22:47:15 +03:00
"current": {},
"datasource": "${DS_GLANCES}",
2018-04-02 22:54:47 +03:00
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "disk",
"options": [],
2018-04-03 22:47:15 +03:00
"query": "show field keys on glances from \"$host.diskio\"",
2018-04-02 22:54:47 +03:00
"refresh": 1,
"regex": "/(.*)\\..*/",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
2017-10-25 11:01:33 +03:00
},
"time": {
"from": "now-15m",
"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"
},
"timezone": "browser",
2018-09-01 13:39:52 +03:00
"title": "Glances",
2018-04-02 22:54:47 +03:00
"uid": "000000002",
2018-09-01 13:39:52 +03:00
"version": 10
}