diff --git a/dashboards/globals/defaults.libsonnet b/dashboards/globals/defaults.libsonnet index 5e4dae4..cfddc13 100644 --- a/dashboards/globals/defaults.libsonnet +++ b/dashboards/globals/defaults.libsonnet @@ -6,5 +6,5 @@ timeTo: 'now', refresh: '1m', }, - datasource: if std.extVar('publish') then '${DS_PROMETHEUS}' else 'Prometheus', + datasource: std.extVar('datasource'), }