grafyaml/tests/schema/fixtures/dashboard-0014.json
Ian Wienand 92ef419c01 Remove query variable refresh deprecation
Added with dd6582e9ccb2b5fcb31e3833166df3af5aec9eff, we have found
that setting a bool here means the query variable no longer refreshes
at all.  Thus it's dangerous to accept it, force it to be an int.

For reference, the values seem to be

 0 = never refresh
 1 = on load
 2 = on timeseries change

Change-Id: Ia96f0166a80ece0b307acdca20eeca045a2e4a75
2020-06-24 20:36:09 +00:00

23 lines
572 B
JSON

{
"dashboard": {
"new-dashboard": {
"rows": [],
"templating": {
"enabled": true,
"list": [
{
"includeAll": false,
"multi": false,
"name": "foobar",
"query": "foobar.*",
"refresh": 1,
"type": "query"
}
]
},
"timezone": "utc",
"title": "New dashboard"
}
}
}