new load averages panel

This commit is contained in:
m0duspwnens
2021-07-13 12:24:32 -04:00
parent 65127eb226
commit 5b3751da70
@@ -1,137 +1,127 @@
{ {
"aliasColors": {}, "type": "graph",
"bars": false, "title": "Load Averages",
"dashLength": 10, "gridPos": {
"dashes": false,
"datasource": "InfluxDB",
"editable": true,
"error": false,
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"x": {{ PANELS.load_averages_graph.gridPos.x }}, "x": {{ PANELS.load_averages_graph.gridPos.x }},
"y": {{ PANELS.load_averages_graph.gridPos.y }}, "y": {{ PANELS.load_averages_graph.gridPos.y }},
"w": {{ PANELS.load_averages_graph.gridPos.w }}, "w": {{ PANELS.load_averages_graph.gridPos.w }},
"h": {{ PANELS.load_averages_graph.gridPos.h }} "h": {{ PANELS.load_averages_graph.gridPos.h }}
}, },
"height": "350", "id": 61869,
"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,
"targets": [ "targets": [
{ {
"alias": "$tag_host: $col", "refId": "A",
"dsType": "influxdb", "queryType": "randomWalk",
"function": "mean", "policy": "default",
"resultFormat": "time_series",
"orderByTime": "ASC",
"tags": [],
"groupBy": [ "groupBy": [
{ {
"interval": "auto", "type": "time",
"params": [ "params": [
"auto" "$__interval"
], ]
"type": "time"
}, },
{ {
"key": "host", "type": "fill",
"params": [ "params": [
"tag" "null"
], ]
"type": "tag"
} }
], ],
"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": [ "select": [
[ [
{ {
"type": "field",
"params": [ "params": [
"value" "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": [], "options": {
"timeFrom": null, "alertThreshold": true
"timeRegions": [],
"timeShift": null,
"title": "Load Averages",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
}, },
"type": "graph", "datasource": "InfluxDB",
"xaxis": { "fieldConfig": {
"buckets": null, "defaults": {},
"mode": "time", "overrides": []
"name": null,
"show": true,
"values": []
}, },
"pluginVersion": "7.5.4",
"renderer": "flot",
"yaxes": [ "yaxes": [
{ {
"format": "short", "label": null,
"show": true,
"logBase": 1, "logBase": 1,
"min": null,
"max": null, "max": null,
"min": 0, "format": "short",
"show": true "$$hashKey": "object:287"
}, },
{ {
"format": "short", "label": null,
"show": true,
"logBase": 1, "logBase": 1,
"max": null,
"min": null, "min": null,
"show": true "max": null,
"format": "short",
"$$hashKey": "object:288"
} }
], ],
"xaxis": {
"show": true,
"mode": "time",
"name": null,
"values": [],
"buckets": null
},
"yaxis": { "yaxis": {
"align": false, "align": false,
"alignLevel": null "alignLevel": null
}, },
"fieldConfig": { "lines": true,
"defaults": { "linewidth": 1,
"links": [] "dashLength": 10,
}, "spaceLength": 10,
"overrides": [] "pointradius": 2,
"legend": {
"show": true,
"values": true,
"min": true,
"max": true,
"current": true,
"total": false,
"avg": true,
"alignAsTable": true
}, },
"pluginVersion": "7.5.4", "nullPointMode": "connected",
"hiddenSeries": false "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
} }