aboutsummaryrefslogtreecommitdiffstats
path: root/roles/grafana/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/grafana/templates')
-rw-r--r--roles/grafana/templates/datasources-default.yml.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/grafana/templates/datasources-default.yml.j2 b/roles/grafana/templates/datasources-default.yml.j2
index 1414ff2..a6066da 100644
--- a/roles/grafana/templates/datasources-default.yml.j2
+++ b/roles/grafana/templates/datasources-default.yml.j2
@@ -8,5 +8,8 @@ datasources:
- name: {{ h.inventory_hostname }}-prometheus
type: prometheus
url: http://{{ h.__ip.internal }}:9090
+ - name: {{ h.inventory_hostname }}-loki
+ type: loki
+ url: http://{{ h.__ip.internal }}:3100
{% endcall %}
remember that computers suck.