diff --git a/templates/monitoring/grafana/provisioning/datasources.yml.j2 b/templates/monitoring/grafana/provisioning/datasources.yml.j2 index a9d8be6..614e3d1 100644 --- a/templates/monitoring/grafana/provisioning/datasources.yml.j2 +++ b/templates/monitoring/grafana/provisioning/datasources.yml.j2 @@ -23,6 +23,7 @@ datasources: version: 1 editable: false +{% if loki_domain is defined %} - name: Loki type: loki access: proxy @@ -38,3 +39,4 @@ datasources: basicAuthPassword: {{ loki_password }} version: 1 editable: false +{% endif %}