
the following patch will allow us to use datasource type in template schema. Change-Id: I15cce5f8f97d1837b94eaa7067d7ebe8e449f8f4 Signed-off-by: Eldad Marciano <emarcian@redhat.com>
24 lines
620 B
JSON
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"
|
|
}
|
|
}
|
|
}
|