Dashboard Migrations: V28 singlestat panel and deprecated variable properties (#108416)
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
This commit is contained in:
+46
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"title": "V28 Singlestat and Variable Properties Migration Test Dashboard",
|
||||
"schemaVersion": 27,
|
||||
"panels": [
|
||||
],
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
"name": "query_variable_with_tags",
|
||||
"type": "query",
|
||||
"datasource": "prometheus",
|
||||
"query": "label_values(up, instance)",
|
||||
"tags": ["instance", "job"],
|
||||
"tagsQuery": "label_values(up, job)",
|
||||
"tagValuesQuery": "label_values(up{job=\"$job\"}, instance)",
|
||||
"useTags": true,
|
||||
"refresh": 1
|
||||
},
|
||||
{
|
||||
"name": "custom_variable_with_tags",
|
||||
"type": "custom",
|
||||
"options": [
|
||||
{"text": "Option 1", "value": "opt1"},
|
||||
{"text": "Option 2", "value": "opt2"}
|
||||
],
|
||||
"tags": ["custom_tag"],
|
||||
"tagsQuery": "custom query",
|
||||
"useTags": false
|
||||
},
|
||||
{
|
||||
"name": "clean_variable",
|
||||
"type": "textbox",
|
||||
"options": [
|
||||
{"text": "Hello", "value": "World"}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {
|
||||
"refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user