grafyaml/tests/schema/fixtures/dashboard-0028.json
Eldad Marciano 2da2da1a9a Add datasource to template schema.
the following patch will allow us to use datasource type in template schema.

Change-Id: I15cce5f8f97d1837b94eaa7067d7ebe8e449f8f4
Signed-off-by: Eldad Marciano <emarcian@redhat.com>
2018-03-26 18:02:45 +03:00

24 lines
620 B
JSON

{
"dashboard": {
"new-dashboard": {
"rows": [],
"templating": {
"enabled": true,
"list": [
{
"current": {
"text": "prometheus",
"value": "prometheus"
},
"name": "foobar",
"query": "prometheus",
"type": "datasource"
}
]
},
"timezone": "utc",
"title": "New dashboard"
}
}
}