about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-04 19:36:23 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-04 19:36:23 -0700
commit7b94100a89980df338059cd01dfd76ce2c308e10 (patch)
tree0f3e602e2007a8d44dde64a31c6b2760eee529f2 /hosts
parentprometheus: fix configuration (diff)
downloadworld-7b94100a89980df338059cd01dfd76ce2c308e10.tar.gz
dashboard: remove ping metrics
We're using the ones from the prober
Diffstat (limited to '')
-rw-r--r--hosts/common/server/dashboards/rtr.json99
1 files changed, 3 insertions, 96 deletions
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
@@ -3296,73 +3296,13 @@
           "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,
           "dashLength": 10,
           "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": {