From 7b94100a89980df338059cd01dfd76ce2c308e10 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Apr 2022 19:36:23 -0700 Subject: dashboard: remove ping metrics We're using the ones from the prober --- hosts/common/server/dashboards/rtr.json | 99 +-------------------------------- 1 file changed, 3 insertions(+), 96 deletions(-) (limited to 'hosts') diff --git a/hosts/common/server/dashboards/rtr.json b/hosts/common/server/dashboards/rtr.json index 26001d0..75f1598 100644 --- a/hosts/common/server/dashboards/rtr.json +++ b/hosts/common/server/dashboards/rtr.json @@ -3295,66 +3295,6 @@ "title": "Uptime", "type": "stat" }, - { - "description": "p100 for RTT to [[address]]", - "fieldConfig": { - "defaults": { - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 15000 - } - ] - }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 25 - }, - "id": 65, - "maxPerRow": 12, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "value" - }, - "pluginVersion": "8.1.5", - "repeat": "address", - "repeatDirection": "h", - "targets": [ - { - "expr": "ping_rtt{target=~\"$address\"}", - "instant": false, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "[[address]]", - "type": "stat" - }, { "aliasColors": {}, "bars": false, @@ -3362,7 +3302,7 @@ "dashes": false, "fieldConfig": { "defaults": { - "unit": "µs" + "unit": "s" }, "overrides": [] }, @@ -3417,9 +3357,9 @@ "targets": [ { "exemplar": true, - "expr": "avg_over_time(ping_rtt{target=~\"$address\", instance=\"rtr\"}[1m])", + "expr": "avg_over_time(probe_icmp_duration_seconds{phase=\"rtt\"}[$__rate_interval])", "interval": "", - "legendFormat": "{{target}}", + "legendFormat": "{{instance}}", "refId": "A" } ], @@ -3816,39 +3756,6 @@ "tags": [], "templating": { "list": [ - { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "definition": "label_values(ping_rtt, target)", - "hide": 2, - "includeAll": true, - "multi": true, - "name": "address", - "options": [], - "query": { - "query": "label_values(ping_rtt, target)", - "refId": "Prometheus-address-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - } ] }, "time": { -- cgit 1.4.1