From 89facbc5c49b3fd4f8e6b051a1d6d04d536b5d6e Mon Sep 17 00:00:00 2001 From: Roman Khavronenko Date: Mon, 20 Dec 2021 17:32:41 +0200 Subject: [PATCH] dashboards/vmagent: fix cached datasource uid (#1984) Signed-off-by: hagen1778 --- dashboards/vmagent.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboards/vmagent.json b/dashboards/vmagent.json index 3e1fb54946..7cfea626d9 100644 --- a/dashboards/vmagent.json +++ b/dashboards/vmagent.json @@ -1605,7 +1605,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_DBAAS-TEST-T3-MEDIUM-INST}" + "uid": "$ds" }, "exemplar": true, "expr": "sum(rate(vm_promscrape_scrapes_total{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", @@ -1616,7 +1616,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_DBAAS-TEST-T3-MEDIUM-INST}" + "uid": "$ds" }, "expr": "sum(rate(vm_promscrape_scraped_samples_sum{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", "interval": "", @@ -3429,7 +3429,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_DBAAS-TEST-T3-MEDIUM-INST}" + "uid": "$ds" }, "exemplar": true, "expr": "sum(rate(vm_persistentqueue_write_duration_seconds_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) by (instance)", @@ -3538,7 +3538,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_DBAAS-TEST-T3-MEDIUM-INST}" + "uid": "$ds" }, "exemplar": true, "expr": "sum(rate(vm_persistentqueue_read_duration_seconds_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) by (instance)",