new load averages panel

This commit is contained in:
m0duspwnens
2021-07-13 12:24:32 -04:00
parent 65127eb226
commit 5b3751da70

View File

@@ -1,137 +1,127 @@
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB",
"editable": true,
"error": false,
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"type": "graph",
"title": "Load Averages",
"gridPos": {
"x": {{ PANELS.load_averages_graph.gridPos.x }},
"y": {{ PANELS.load_averages_graph.gridPos.y }},
"w": {{ PANELS.load_averages_graph.gridPos.w }},
"h": {{ PANELS.load_averages_graph.gridPos.h }}
},
"height": "350",
"id": 28,
"interval": "$inter",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"id": 61869,
"targets": [
{
"alias": "$tag_host: $col",
"dsType": "influxdb",
"function": "mean",
"refId": "A",
"queryType": "randomWalk",
"policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [
{
"interval": "auto",
"type": "time",
"params": [
"auto"
],
"type": "time"
"$__interval"
]
},
{
"key": "host",
"type": "fill",
"params": [
"tag"
],
"type": "tag"
"null"
]
}
],
"measurement": "system",
"policy": "default",
"query": "SELECT mean(load1) as 1m,mean(load5) as 5m,mean(load15) as 15m FROM \"system\" WHERE host =~ /^$servername$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"type": "field",
"params": [
"value"
],
"type": "field"
]
},
{
"params": [],
"type": "mean"
"type": "mean",
"params": []
}
]
],
"tags": []
"query": "SELECT mean(load1) as \"1m\", mean(load5) as \"5m\", mean(load15) as \"15m\" FROM \"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc",
"rawQuery": true,
"alias": "$tag_host: $col"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Load Averages",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
"options": {
"alertThreshold": true
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"pluginVersion": "7.5.4",
"renderer": "flot",
"yaxes": [
{
"format": "short",
"label": null,
"show": true,
"logBase": 1,
"min": null,
"max": null,
"min": 0,
"show": true
"format": "short",
"$$hashKey": "object:287"
},
{
"format": "short",
"label": null,
"show": true,
"logBase": 1,
"max": null,
"min": null,
"show": true
"max": null,
"format": "short",
"$$hashKey": "object:288"
}
],
"xaxis": {
"show": true,
"mode": "time",
"name": null,
"values": [],
"buckets": null
},
"yaxis": {
"align": false,
"alignLevel": null
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
"lines": true,
"linewidth": 1,
"dashLength": 10,
"spaceLength": 10,
"pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": true,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
},
"pluginVersion": "7.5.4",
"hiddenSeries": false
"nullPointMode": "connected",
"tooltip": {
"value_type": "individual",
"shared": true,
"sort": 0
},
"aliasColors": {},
"seriesOverrides": [],
"thresholds": [],
"timeRegions": [],
"fill": 0,
"fillGradient": 0,
"dashes": false,
"hiddenSeries": false,
"points": false,
"bars": false,
"stack": false,
"percentage": false,
"steppedLine": false
}