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 GitHub
parent 52a3b2d77e
commit 871528fedb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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