mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-27 21:26:38 +00:00
Add total disk write to dashboard
This commit is contained in:
parent
d36aff9f7d
commit
e8b244b581
@ -1669,7 +1669,7 @@
|
|||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"datasource": null,
|
"datasource": null,
|
||||||
"fill": 1,
|
"fill": 0,
|
||||||
"fillGradient": 0,
|
"fillGradient": 0,
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 8,
|
"h": 8,
|
||||||
@ -1678,7 +1678,7 @@
|
|||||||
"y": 48
|
"y": 48
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"hiddenSeries": false,
|
||||||
"id": 26,
|
"id": 29,
|
||||||
"legend": {
|
"legend": {
|
||||||
"avg": false,
|
"avg": false,
|
||||||
"current": false,
|
"current": false,
|
||||||
@ -1701,50 +1701,28 @@
|
|||||||
"seriesOverrides": [],
|
"seriesOverrides": [],
|
||||||
"spaceLength": 10,
|
"spaceLength": 10,
|
||||||
"stack": false,
|
"stack": false,
|
||||||
"steppedLine": false,
|
"steppedLine": true,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"groupBy": [],
|
"groupBy": [
|
||||||
"measurement": "interface_rx",
|
|
||||||
"orderByTime": "ASC",
|
|
||||||
"policy": "default",
|
|
||||||
"refId": "A",
|
|
||||||
"resultFormat": "time_series",
|
|
||||||
"select": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"value"
|
|
||||||
],
|
|
||||||
"type": "field"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"1s"
|
|
||||||
],
|
|
||||||
"type": "derivative"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
{
|
{
|
||||||
"key": "instance",
|
"params": [
|
||||||
"operator": "=",
|
"$__interval"
|
||||||
"value": "eth0"
|
],
|
||||||
|
"type": "time"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"params": [
|
||||||
"key": "type",
|
"null"
|
||||||
"operator": "=",
|
],
|
||||||
"value": "if_octets"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
},
|
"measurement": "disk_write",
|
||||||
{
|
|
||||||
"groupBy": [],
|
|
||||||
"measurement": "interface_tx",
|
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
|
"query": "SELECT derivative(sum(\"value\"), 1s) FROM \"disk_write\" WHERE (((\"instance\" = 'sda') OR (\"instance\" = 'sdb') OR (\"instance\" = 'sdc') OR (\"instance\" = 'sdd') OR (\"instance\" = 'sde') OR (\"instance\" = 'sdf') OR (\"instance\" = 'sdg') OR (\"instance\" = 'sdh') OR (\"instance\" = 'sdi') OR (\"instance\" = 'sdj') OR (\"instance\" = 'sdk') OR (\"instance\" = 'sdl') OR (\"instance\" = 'sdm') OR (\"instance\" = 'sdn') OR (\"instance\" = 'sdo') OR (\"instance\" = 'sdp')) AND \"type\" = 'disk_octets') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||||
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
"select": [
|
"select": [
|
||||||
@ -1755,6 +1733,10 @@
|
|||||||
],
|
],
|
||||||
"type": "field"
|
"type": "field"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"params": [],
|
||||||
|
"type": "sum"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"1s"
|
"1s"
|
||||||
@ -1767,13 +1749,13 @@
|
|||||||
{
|
{
|
||||||
"key": "instance",
|
"key": "instance",
|
||||||
"operator": "=",
|
"operator": "=",
|
||||||
"value": "eth0"
|
"value": "sdb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "type",
|
"key": "type",
|
||||||
"operator": "=",
|
"operator": "=",
|
||||||
"value": "if_octets"
|
"value": "disk_octets"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -1782,7 +1764,7 @@
|
|||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeRegions": [],
|
"timeRegions": [],
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "eth0",
|
"title": "Total disk write (/dev/sd[a-p])",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 0,
|
||||||
@ -1974,6 +1956,162 @@
|
|||||||
"align": false,
|
"align": false,
|
||||||
"alignLevel": null
|
"alignLevel": null
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"aliasColors": {},
|
||||||
|
"bars": false,
|
||||||
|
"dashLength": 10,
|
||||||
|
"dashes": false,
|
||||||
|
"datasource": null,
|
||||||
|
"fill": 1,
|
||||||
|
"fillGradient": 0,
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 56
|
||||||
|
},
|
||||||
|
"hiddenSeries": false,
|
||||||
|
"id": 26,
|
||||||
|
"legend": {
|
||||||
|
"avg": false,
|
||||||
|
"current": false,
|
||||||
|
"max": false,
|
||||||
|
"min": false,
|
||||||
|
"show": true,
|
||||||
|
"total": false,
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"lines": true,
|
||||||
|
"linewidth": 1,
|
||||||
|
"nullPointMode": "null",
|
||||||
|
"options": {
|
||||||
|
"dataLinks": []
|
||||||
|
},
|
||||||
|
"percentage": false,
|
||||||
|
"pointradius": 2,
|
||||||
|
"points": false,
|
||||||
|
"renderer": "flot",
|
||||||
|
"seriesOverrides": [],
|
||||||
|
"spaceLength": 10,
|
||||||
|
"stack": false,
|
||||||
|
"steppedLine": false,
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"groupBy": [],
|
||||||
|
"measurement": "interface_rx",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"type": "field"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"1s"
|
||||||
|
],
|
||||||
|
"type": "derivative"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "instance",
|
||||||
|
"operator": "=",
|
||||||
|
"value": "eth0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "AND",
|
||||||
|
"key": "type",
|
||||||
|
"operator": "=",
|
||||||
|
"value": "if_octets"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"groupBy": [],
|
||||||
|
"measurement": "interface_tx",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"refId": "B",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"type": "field"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"1s"
|
||||||
|
],
|
||||||
|
"type": "derivative"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "instance",
|
||||||
|
"operator": "=",
|
||||||
|
"value": "eth0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "AND",
|
||||||
|
"key": "type",
|
||||||
|
"operator": "=",
|
||||||
|
"value": "if_octets"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"thresholds": [],
|
||||||
|
"timeFrom": null,
|
||||||
|
"timeRegions": [],
|
||||||
|
"timeShift": null,
|
||||||
|
"title": "eth0",
|
||||||
|
"tooltip": {
|
||||||
|
"shared": true,
|
||||||
|
"sort": 0,
|
||||||
|
"value_type": "individual"
|
||||||
|
},
|
||||||
|
"type": "graph",
|
||||||
|
"xaxis": {
|
||||||
|
"buckets": null,
|
||||||
|
"mode": "time",
|
||||||
|
"name": null,
|
||||||
|
"show": true,
|
||||||
|
"values": []
|
||||||
|
},
|
||||||
|
"yaxes": [
|
||||||
|
{
|
||||||
|
"format": "Bps",
|
||||||
|
"label": null,
|
||||||
|
"logBase": 1,
|
||||||
|
"max": null,
|
||||||
|
"min": "0",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"format": "short",
|
||||||
|
"label": null,
|
||||||
|
"logBase": 1,
|
||||||
|
"max": null,
|
||||||
|
"min": null,
|
||||||
|
"show": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"yaxis": {
|
||||||
|
"align": false,
|
||||||
|
"alignLevel": null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"refresh": "5s",
|
"refresh": "5s",
|
||||||
@ -2007,5 +2145,5 @@
|
|||||||
"variables": {
|
"variables": {
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"version": 5
|
"version": 2
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user