summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolargo <nicolas@nicolargo.com>2016-04-28 16:44:28 +0200
committerNicolargo <nicolas@nicolargo.com>2016-04-28 16:44:28 +0200
commit053f072d9b14fdc4e8a062ab9f76a4a9384528d2 (patch)
tree54eca75ece755bd057975901a7b014483d2fb18d /conf
parent1806d14d83b26559de3966826d6cf8540fa8e5c0 (diff)
Correct Grafana dashboard (error on network interface bitrate. See issue #856
Diffstat (limited to 'conf')
-rw-r--r--conf/glances-grafana.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/conf/glances-grafana.json b/conf/glances-grafana.json
index 47bcdf5d..67b977dd 100644
--- a/conf/glances-grafana.json
+++ b/conf/glances-grafana.json
@@ -795,14 +795,14 @@
],
"interval": "",
"measurement": "localhost.network",
- "query": "SELECT mean(\"enp0s25.rx\") FROM \"localhost.network\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
+ "query": "SELECT mean(\"eth0.rx\")/mean(\"eth0.time_since_update\")*8 FROM \"localhost.network\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
- "enp0s25.rx"
+ "eth0.rx"
],
"type": "field"
},
@@ -817,12 +817,12 @@
},
{
"alias": "Tx",
- "column": "enp0s25.tx*-1",
+ "column": "eth0.tx*-1",
"dsType": "influxdb",
"fields": [
{
"func": "mean",
- "name": "wlan0.tx"
+ "name": "eth0.tx"
}
],
"fill": "null",
@@ -837,14 +837,14 @@
}
],
"measurement": "localhost.network",
- "query": "SELECT mean(\"enp0s25.tx\") FROM \"localhost.network\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
+ "query": "SELECT mean(\"eth0.tx\")/mean(\"eth0.time_since_update\")*8 FROM \"localhost.network\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
- "enp0s25.tx"
+ "eth0.tx"
],
"type": "field"
},
@@ -861,7 +861,7 @@
],
"timeFrom": null,
"timeShift": null,
- "title": "Net (wlan0)",
+ "title": "Net (eth0)",
"tooltip": {
"shared": false,
"value_type": "cumulative"
@@ -2171,4 +2171,4 @@
"schemaVersion": 8,
"version": 1,
"links": []
-} \ No newline at end of file
+}