Skip to content

Commit

Permalink
feat: allow bootstrapping Grafana without Loki
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed Mar 15, 2024
1 parent 53cd7e1 commit 532f4ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/monitoring/grafana/provisioning/datasources.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ datasources:
version: 1
editable: false

{% if loki_domain is defined %}
- name: Loki
type: loki
access: proxy
Expand All @@ -38,3 +39,4 @@ datasources:
basicAuthPassword: {{ loki_password }}
version: 1
editable: false
{% endif %}

0 comments on commit 532f4ef

Please sign in to comment.