summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolas Hennion <nicolashennion@gmail.com>2024-05-16 14:14:16 +0000
committerNicolas Hennion <nicolashennion@gmail.com>2024-05-16 14:14:16 +0000
commit6583109c73f1de8fc3b1c8ddc6bd615e20a86b22 (patch)
tree19b29edb636b4ed30a13a45f40cf7b7296ab276a /conf
parent986cd99fbdb754ea06dc7dd0f527b7db19ce8ea9 (diff)
Update the Grafana dashboard - Sensors is now displayed #2780
Diffstat (limited to 'conf')
-rw-r--r--conf/glances-grafana-influxql.json159
1 files changed, 154 insertions, 5 deletions
diff --git a/conf/glances-grafana-influxql.json b/conf/glances-grafana-influxql.json
index a10c64b1..36b56d5e 100644
--- a/conf/glances-grafana-influxql.json
+++ b/conf/glances-grafana-influxql.json
@@ -2120,13 +2120,14 @@
"value": 80
}
]
- }
+ },
+ "unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
- "w": 24,
+ "w": 12,
"x": 0,
"y": 30
},
@@ -2202,12 +2203,160 @@
"condition": "AND",
"key": "type",
"operator": "=~",
- "value": "/^temperature_core$/"
+ "value": "/^SensorType.CPU_TEMP$/"
+ }
+ ]
+ }
+ ],
+ "title": "CPU temperature",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "influxdb",
+ "uid": "${DS_GLANCES}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "fieldMinMax": false,
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "rotrpm"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 6,
+ "w": 12,
+ "x": 12,
+ "y": 30
+ },
+ "id": 32,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "10.4.1",
+ "targets": [
+ {
+ "alias": "$tag_label",
+ "datasource": {
+ "type": "influxdb",
+ "uid": "${DS_GLANCES}"
+ },
+ "dsType": "influxdb",
+ "groupBy": [
+ {
+ "params": [
+ "$__interval"
+ ],
+ "type": "time"
+ },
+ {
+ "params": [
+ "label::tag"
+ ],
+ "type": "tag"
+ },
+ {
+ "params": [
+ "null"
+ ],
+ "type": "fill"
+ }
+ ],
+ "measurement": "sensors",
+ "orderByTime": "ASC",
+ "policy": "default",
+ "refId": "A",
+ "resultFormat": "time_series",
+ "select": [
+ [
+ {
+ "params": [
+ "value"
+ ],
+ "type": "field"
+ },
+ {
+ "params": [],
+ "type": "mean"
+ }
+ ]
+ ],
+ "tags": [
+ {
+ "condition": "AND",
+ "key": "hostname",
+ "operator": "=~",
+ "value": "/^$host$/"
+ },
+ {
+ "condition": "AND",
+ "key": "type",
+ "operator": "=~",
+ "value": "/^SensorType.FAN_SPEED$/"
}
]
}
],
- "title": "Temperatures",
+ "title": "FAN speed",
"type": "timeseries"
},
{
@@ -2667,6 +2816,6 @@
"timezone": "browser",
"title": "Glances",
"uid": "000000002",
- "version": 3,
+ "version": 5,
"weekStart": ""
} \ No newline at end of file