From 2c643ea5fbd02b50411bcba1f5df14a8c327fdb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 13 Dec 2021 17:11:14 +0000 Subject: roles: Add loki and promtail configurations --- roles/grafana/templates/datasources-default.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/grafana') 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 %} -- cgit v1.2.3