mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 18:13:09 +08:00
feat(plugins): added prometheus dashboard to prometheus data source, #4298
This commit is contained in:
@ -59,13 +59,14 @@ func TestDashboardImport(t *testing.T) {
|
||||
|
||||
Convey("When evaling dashboard template", t, func() {
|
||||
template, _ := simplejson.NewJson([]byte(`{
|
||||
"__inputs": {
|
||||
"graphite": {
|
||||
"__inputs": [
|
||||
{
|
||||
"name": "DS_NAME",
|
||||
"type": "datasource"
|
||||
}
|
||||
},
|
||||
],
|
||||
"test": {
|
||||
"prop": "$__graphite"
|
||||
"prop": "${DS_NAME}"
|
||||
}
|
||||
}`))
|
||||
|
||||
|
Reference in New Issue
Block a user