dashboards/vmagent: fix cached datasource uid (#1984)

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2021-12-20 17:32:41 +02:00 committed by Aliaksandr Valialkin
parent 0311d3cc89
commit 89facbc5c4
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

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