fix: prometheus source title

This commit is contained in:
Jet 2026-03-31 18:37:40 -07:00
parent e672551481
commit 99ab061dfe
No known key found for this signature in database

View file

@ -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,