46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"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"]
|
|
}
|
|
} |