feat: parametrize the datasource

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
raito 2024-08-24 16:25:18 +02:00
parent d6badc6472
commit e544abac81

View file

@ -6,5 +6,5 @@
timeTo: 'now',
refresh: '1m',
},
datasource: if std.extVar('publish') then '${DS_PROMETHEUS}' else 'Prometheus',
datasource: std.extVar('datasource'),
}