feat: parametrize the datasource
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
d6badc6472
commit
e544abac81
|
@ -6,5 +6,5 @@
|
|||
timeTo: 'now',
|
||||
refresh: '1m',
|
||||
},
|
||||
datasource: if std.extVar('publish') then '${DS_PROMETHEUS}' else 'Prometheus',
|
||||
datasource: std.extVar('datasource'),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue