From 99ab061dfe7a3958f4be49f67522bf66d3ddd04a Mon Sep 17 00:00:00 2001 From: Jet Date: Tue, 31 Mar 2026 18:37:40 -0700 Subject: [PATCH] fix: prometheus source title --- grafana-dashboards/blackbox-overview.json | 90 +++++------------------ 1 file changed, 18 insertions(+), 72 deletions(-) diff --git a/grafana-dashboards/blackbox-overview.json b/grafana-dashboards/blackbox-overview.json index c7cbc08..c1c3c59 100644 --- a/grafana-dashboards/blackbox-overview.json +++ b/grafana-dashboards/blackbox-overview.json @@ -22,10 +22,7 @@ "liveNow": false, "panels": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -76,10 +73,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "sum(probe_success{job=~\"$job\", monitor=~\"$monitor\"})", "instant": true, @@ -92,10 +86,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -142,10 +133,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "count(probe_success{job=~\"$job\", monitor=~\"$monitor\"})", "instant": true, @@ -158,10 +146,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -218,10 +203,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "avg_over_time(probe_success{job=~\"$job\", monitor=~\"$monitor\"}[24h])", "instant": true, @@ -234,10 +216,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -292,10 +271,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "max(probe_duration_seconds{job=~\"$job\", monitor=~\"$monitor\"})", "instant": true, @@ -308,10 +284,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -391,10 +364,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "probe_success{job=~\"$job\", monitor=~\"$monitor\"}", "legendFormat": "{{monitor}}", @@ -406,10 +376,7 @@ "type": "timeseries" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -493,10 +460,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "probe_duration_seconds{job=~\"$job\", monitor=~\"$monitor\"}", "legendFormat": "{{monitor}}", @@ -508,10 +472,7 @@ "type": "timeseries" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "fieldConfig": { "defaults": { "color": { @@ -598,10 +559,7 @@ "pluginVersion": "11.0.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "probe_success{job=~\"$job\", monitor=~\"$monitor\"}", "format": "table", @@ -610,10 +568,7 @@ "refId": "A" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "probe_duration_seconds{job=~\"$job\", monitor=~\"$monitor\"}", "format": "table", @@ -622,10 +577,7 @@ "refId": "B" }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "editorMode": "code", "expr": "probe_http_status_code{job=~\"$job\", monitor=~\"$monitor\"}", "format": "table", @@ -694,10 +646,7 @@ "text": "All", "value": ".*" }, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "definition": "label_values(probe_success{job=~\"blackbox-.*\"}, job)", "hide": 0, "includeAll": true, @@ -722,10 +671,7 @@ "text": "All", "value": ".*" }, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "Prometheus", "definition": "label_values(probe_success{job=~\"$job\"}, monitor)", "hide": 0, "includeAll": true,