diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-13 17:11:14 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-13 17:11:14 +0000 |
commit | 2c643ea5fbd02b50411bcba1f5df14a8c327fdb1 (patch) | |
tree | b6d28dceb42227ebbf9cc1e95b39cb6f2f849592 /roles/grafana/templates/datasources-default.yml.j2 | |
parent | cffe3422c31f987eea301fcd79571546f9b9e02d (diff) | |
download | rules-2c643ea5fbd02b50411bcba1f5df14a8c327fdb1.tar.gz |
roles: Add loki and promtail configurations
Diffstat (limited to 'roles/grafana/templates/datasources-default.yml.j2')
-rw-r--r-- | roles/grafana/templates/datasources-default.yml.j2 | 3 |
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 %} |