From a3a1ec7a4952ba561f66e59910aa8e894d63b3a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 27 Oct 2024 03:33:09 +0000 Subject: [PATCH] assets,site/content: daily assets regeneration --- .../dashboards/blackbox-exporter.json | 104 +++++++++++++----- 1 file changed, 79 insertions(+), 25 deletions(-) diff --git a/assets/blackbox_exporter/dashboards/blackbox-exporter.json b/assets/blackbox_exporter/dashboards/blackbox-exporter.json index 2f9dc58..7aee642 100644 --- a/assets/blackbox_exporter/dashboards/blackbox-exporter.json +++ b/assets/blackbox_exporter/dashboards/blackbox-exporter.json @@ -339,6 +339,60 @@ "title": "Uptime", "type": "stat" }, + { + "datasource": { + "type": "datasource", + "uid": "-- Mixed --" + }, + "fieldConfig": { + "defaults": { + "thresholds": { + "steps": [ + { + "color": "red", + "value": 0 + }, + { + "color": "yellow", + "value": 0.98999999999999999 + }, + { + "color": "green", + "value": 0.999 + } + ] + }, + "unit": "percentunit" + } + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 0, + "y": 15 + }, + "id": 9, + "options": { + "colorMode": "background", + "reduceOptions": { + "calcs": [ + "mean" + ] + } + }, + "pluginVersion": "v11.0.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "expr": "avg_over_time(\n probe_success{\n job=~\"$job\",\n instance=~\"$instance\"\n }[30d]\n)\n" + } + ], + "title": "Uptime 30d", + "type": "stat" + }, { "datasource": { "type": "datasource", @@ -365,12 +419,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 3, "x": 0, "y": 15 }, - "id": 9, + "id": 10, "options": { "colorMode": "background", "reduceOptions": { @@ -424,12 +478,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 3, "x": 3, "y": 15 }, - "id": 10, + "id": 11, "options": { "reduceOptions": { "calcs": [ @@ -477,12 +531,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 3, "x": 0, - "y": 18 + "y": 17 }, - "id": 11, + "id": 12, "options": { "colorMode": "background", "reduceOptions": { @@ -528,12 +582,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 3, "x": 3, - "y": 18 + "y": 17 }, - "id": 12, + "id": 13, "options": { "reduceOptions": { "calcs": [ @@ -580,12 +634,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 6, "x": 0, - "y": 21 + "y": 19 }, - "id": 13, + "id": 14, "options": { "colorMode": "background", "graphMode": "none" @@ -629,12 +683,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 3, "x": 0, - "y": 24 + "y": 22 }, - "id": 14, + "id": 15, "options": { "colorMode": "background", "reduceOptions": { @@ -668,12 +722,12 @@ } }, "gridPos": { - "h": 3, + "h": 2, "w": 3, "x": 3, - "y": 24 + "y": 22 }, - "id": 15, + "id": 16, "options": { "reduceOptions": { "calcs": [ @@ -710,9 +764,9 @@ "h": 4, "w": 3, "x": 0, - "y": 27 + "y": 25 }, - "id": 16, + "id": 17, "options": { "reduceOptions": { "calcs": [ @@ -747,9 +801,9 @@ "h": 4, "w": 3, "x": 3, - "y": 27 + "y": 25 }, - "id": 17, + "id": 18, "options": { "reduceOptions": { "calcs": [ @@ -790,7 +844,7 @@ "x": 6, "y": 11 }, - "id": 18, + "id": 19, "options": { "legend": { "calcs": [ @@ -853,7 +907,7 @@ "x": 6, "y": 21 }, - "id": 19, + "id": 20, "options": { "legend": { "calcs": [