glances/conf/glances-grafana.json
2015-03-15 20:38:48 +01:00

668 lines
18 KiB
JSON

{
"id": null,
"title": "Glances",
"originalTitle": "Glances",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"title": "test",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "Core",
"error": false,
"span": 2,
"editable": true,
"type": "singlestat",
"id": 5,
"links": [],
"maxDataPoints": 100,
"interval": null,
"targets": [
{
"function": "mean",
"column": "cpucore",
"series": "load",
"query": "select mean(cpucore) from \"load\" where $timeFilter group by time($interval) order asc"
}
],
"cacheTimeout": null,
"format": "none",
"prefix": "",
"postfix": "",
"nullText": null,
"valueMaps": [
{
"value": "null",
"op": "=",
"text": "N/A"
}
],
"nullPointMode": "connected",
"valueName": "avg",
"prefixFontSize": "50%",
"valueFontSize": "80%",
"postfixFontSize": "50%",
"thresholds": "",
"colorBackground": false,
"colorValue": false,
"colors": [
"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"
},
{
"id": 4,
"span": 10,
"type": "graph",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_formats": [
"short",
"short"
],
"grid": {
"max": null,
"min": null,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)",
"thresholdLine": false
},
"resolution": 100,
"lines": true,
"fill": 1,
"linewidth": 2,
"points": false,
"pointradius": 5,
"bars": false,
"stack": true,
"spyable": true,
"options": false,
"legend": {
"show": true,
"values": true,
"min": true,
"max": true,
"current": false,
"total": false,
"avg": true,
"rightSide": false,
"alignAsTable": false
},
"interactive": true,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true,
"shared": false
},
"targets": [
{
"target": "randomWalk('random walk')",
"function": "mean",
"column": "min1",
"series": "load",
"query": "select mean(min1) from \"load\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "1min",
"fill": "null"
},
{
"target": "",
"function": "mean",
"column": "min5",
"series": "load",
"query": "select mean(min5) from \"load\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "5mins",
"fill": "null"
},
{
"target": "",
"function": "mean",
"column": "min15",
"series": "load",
"query": "select mean(min15) from \"load\" where $timeFilter group by time($interval) fill(null) order asc",
"fill": "null",
"alias": "15mins"
}
],
"aliasColors": {},
"aliasYAxis": {},
"title": "Load",
"datasource": "glances",
"renderer": "flot",
"annotate": {
"enable": false
},
"seriesOverrides": [],
"links": []
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "CPU (%)",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 6,
"datasource": "glances",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"percent",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": true,
"max": true,
"current": false,
"total": false,
"avg": true,
"rightSide": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"function": "mean",
"column": "total",
"series": "cpu",
"query": "select mean(total) from \"cpu\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "Total",
"fill": "null"
},
{
"target": "",
"function": "mean",
"column": "user",
"series": "cpu",
"query": "select mean(user) from \"cpu\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "User",
"fill": "null"
},
{
"target": "",
"function": "mean",
"column": "system",
"series": "cpu",
"query": "select mean(system) from \"cpu\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "System",
"fill": "null"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "MEM",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 7,
"datasource": "glances",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"function": "mean",
"column": "used",
"series": "mem",
"query": "select mean(used) from \"mem\" where $timeFilter group by time($interval) order asc",
"alias": "Used"
},
{
"target": "",
"function": "mean",
"column": "total",
"series": "mem",
"query": "select mean(total) from \"mem\" where $timeFilter group by time($interval) order asc",
"alias": "Max"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "Net (Wlan0)",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 9,
"datasource": "glances",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bps",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"function": "mean",
"column": "wlan0.rx",
"series": "network",
"query": "select mean(wlan0.rx) from \"network\" where $timeFilter group by time($interval) order asc",
"alias": "Rx",
"interval": ""
},
{
"target": "",
"function": "mean",
"column": "wlan0.tx",
"series": "network",
"query": "select mean(wlan0.tx) from \"network\" where $timeFilter group by time($interval) order asc",
"alias": "Tx"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "SWAP",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 8,
"datasource": "glances",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"function": "mean",
"column": "used",
"series": "memswap",
"query": "select mean(used) from \"memswap\" where $timeFilter group by time($interval) order asc",
"alias": "Used"
},
{
"target": "",
"function": "mean",
"column": "total",
"series": "memswap",
"query": "select mean(total) from \"memswap\" where $timeFilter group by time($interval) order asc",
"alias": "Max"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
]
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "sda2 disk IO",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 10,
"datasource": "glances",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"function": "mean",
"column": "sda2.read_bytes",
"series": "diskio",
"query": "select mean(sda2.read_bytes) from \"diskio\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "Read",
"fill": "null"
},
{
"target": "",
"function": "mean",
"column": "sda2.write_bytes",
"series": "diskio",
"query": "select mean(sda2.write_bytes) from \"diskio\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "Write",
"fill": "null"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "/ Size",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 11,
"datasource": "glances",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
],
"grid": {
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 1,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": false
},
"targets": [
{
"function": "mean",
"column": "\"/.used\"",
"series": "fs",
"query": "select mean(\"/.used\") from \"fs\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "Used",
"fill": "null"
},
{
"target": "",
"function": "mean",
"column": "\"/.size\"",
"series": "fs",
"query": "select mean(\"/.size\") from \"fs\" where $timeFilter group by time($interval) fill(null) order asc",
"alias": "Max",
"fill": "null"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
]
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"enable": true,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"now": true,
"notice": false
}
],
"time": {
"from": "now-6h",
"to": "now"
},
"templating": {
"list": []
},
"annotations": {
"list": []
},
"version": 6,
"hideAllLegends": false
}