diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-06 11:30:18 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-06 11:30:18 -0800 |
commit | 9e09f2b7615487c5e290c307afbb0ce245850fc3 (patch) | |
tree | c3c8fb86909941c421139dba3d57d3f58b7d5136 /hosts/common/server/dashboards | |
parent | grafana: add a few more dashboards (diff) | |
download | world-9e09f2b7615487c5e290c307afbb0ce245850fc3.tar.gz |
grafana: rename the instance for the router
Diffstat (limited to '')
-rw-r--r-- | hosts/common/server/dashboards/rtr.json | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/hosts/common/server/dashboards/rtr.json b/hosts/common/server/dashboards/rtr.json index 6f544f5..26001d0 100644 --- a/hosts/common/server/dashboards/rtr.json +++ b/hosts/common/server/dashboards/rtr.json @@ -103,7 +103,7 @@ "targets": [ { "exemplar": true, - "expr": "node_network_receive_bytes_total{instance=\"rtr.home\", device=\"eno1\"}", + "expr": "node_network_receive_bytes_total{instance=\"rtr\", device=\"eno1\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -175,7 +175,7 @@ "targets": [ { "exemplar": true, - "expr": "node_network_transmit_bytes_total{instance=\"rtr.home\", device=\"eno1\"}", + "expr": "node_network_transmit_bytes_total{instance=\"rtr\", device=\"eno1\"}", "instant": false, "interval": "", "legendFormat": "", @@ -318,7 +318,7 @@ "targets": [ { "exemplar": true, - "expr": "((node_memory_MemTotal_bytes{instance=\"rtr.home\"} - node_memory_MemFree_bytes{instance=\"rtr.home\"}) / (node_memory_MemTotal_bytes{instance=\"rtr.home\"} )) * 100", + "expr": "((node_memory_MemTotal_bytes{instance=\"rtr\"} - node_memory_MemFree_bytes{instance=\"rtr\"}) / (node_memory_MemTotal_bytes{instance=\"rtr\"} )) * 100", "format": "time_series", "hide": true, "interval": "", @@ -329,7 +329,7 @@ }, { "exemplar": true, - "expr": "100 - ((node_memory_MemAvailable_bytes{instance=\"rtr.home\"} * 100) / node_memory_MemTotal_bytes{instance=\"rtr.home\"})", + "expr": "100 - ((node_memory_MemAvailable_bytes{instance=\"rtr\"} * 100) / node_memory_MemTotal_bytes{instance=\"rtr\"})", "format": "time_series", "hide": false, "interval": "", @@ -411,7 +411,7 @@ "targets": [ { "exemplar": true, - "expr": "(((count(count(node_cpu_seconds_total{instance=\"rtr.home\"}) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle',instance=\"rtr.home\"}[5m])))) * 100) / count(count(node_cpu_seconds_total{instance=\"rtr.home\"}) by (cpu))", + "expr": "(((count(count(node_cpu_seconds_total{instance=\"rtr\"}) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle',instance=\"rtr\"}[5m])))) * 100) / count(count(node_cpu_seconds_total{instance=\"rtr\"}) by (cpu))", "hide": false, "interval": "", "intervalFactor": 1, @@ -490,7 +490,7 @@ "targets": [ { "exemplar": true, - "expr": "node_time_seconds{instance=\"rtr.home\"} - node_boot_time_seconds{instance=\"rtr.home\"}", + "expr": "node_time_seconds{instance=\"rtr\"} - node_boot_time_seconds{instance=\"rtr\"}", "instant": false, "interval": "", "legendFormat": "", @@ -563,7 +563,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(node_network_receive_bytes_total{instance=\"rtr.home\", device=\"eno1\"}[1m])", + "expr": "rate(node_network_receive_bytes_total{instance=\"rtr\", device=\"eno1\"}[1m])", "instant": false, "interval": "", "legendFormat": "", @@ -636,7 +636,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(node_network_transmit_bytes_total{instance=\"rtr.home\", device=\"eno1\"}[1m])", + "expr": "rate(node_network_transmit_bytes_total{instance=\"rtr\", device=\"eno1\"}[1m])", "instant": false, "interval": "", "legendFormat": "", @@ -852,7 +852,7 @@ "targets": [ { "exemplar": true, - "expr": "irate(node_network_receive_drop_total{device=\"eno1\", instance=\"rtr.home\"}[1m])", + "expr": "irate(node_network_receive_drop_total{device=\"eno1\", instance=\"rtr\"}[1m])", "format": "time_series", "interval": "", "legendFormat": "receive - drop", @@ -860,7 +860,7 @@ }, { "exemplar": true, - "expr": "irate(node_network_transmit_drop_total{device=\"eno1\", instance=\"rtr.home\"}[1m])", + "expr": "irate(node_network_transmit_drop_total{device=\"eno1\", instance=\"rtr\"}[1m])", "format": "time_series", "interval": "", "legendFormat": "trans - drop", @@ -868,7 +868,7 @@ }, { "exemplar": true, - "expr": "irate(node_network_transmit_errs_total{device=\"eno1\", instance=\"rtr.home\"}[1m])", + "expr": "irate(node_network_transmit_errs_total{device=\"eno1\", instance=\"rtr\"}[1m])", "format": "time_series", "interval": "", "legendFormat": "trans - errors", @@ -876,7 +876,7 @@ }, { "exemplar": true, - "expr": "irate(node_network_receive_errs_total{device=\"eno1\", instance=\"rtr.home\"}[1m])", + "expr": "irate(node_network_receive_errs_total{device=\"eno1\", instance=\"rtr\"}[1m])", "format": "time_series", "interval": "", "legendFormat": "receive - errors", @@ -948,7 +948,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(node_network_transmit_bytes_total{instance=\"rtr.home\", device=\"eno1\"}[1m])", + "expr": "rate(node_network_transmit_bytes_total{instance=\"rtr\", device=\"eno1\"}[1m])", "format": "time_series", "hide": false, "interval": "", @@ -958,7 +958,7 @@ }, { "exemplar": true, - "expr": "rate(node_network_receive_bytes_total{instance=\"rtr.home\", device=\"eno1\"}[1m])", + "expr": "rate(node_network_receive_bytes_total{instance=\"rtr\", device=\"eno1\"}[1m])", "interval": "", "intervalFactor": 1, "legendFormat": "download wan", @@ -1965,7 +1965,7 @@ "targets": [ { "exemplar": true, - "expr": "rate(dns_answer_response_time_ms_bucket{instance=\"rtr.home\"}[5m])", + "expr": "rate(dns_answer_response_time_ms_bucket{instance=\"rtr\"}[5m])", "format": "heatmap", "interval": "", "intervalFactor": 4, @@ -3417,7 +3417,7 @@ "targets": [ { "exemplar": true, - "expr": "avg_over_time(ping_rtt{target=~\"$address\", instance=\"rtr.home\"}[1m])", + "expr": "avg_over_time(ping_rtt{target=~\"$address\", instance=\"rtr\"}[1m])", "interval": "", "legendFormat": "{{target}}", "refId": "A" |