We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8200ed8 commit ea23882Copy full SHA for ea23882
partition/roles/promtail/templates/promtail.yaml.j2
@@ -6,7 +6,15 @@ positions:
6
filename: /var/log/promtail-positions.yaml
7
8
clients:
9
-{{ promtail_clients | to_yaml(indent=2) }}
+{% for client in promtail_clients %}
10
+ - url: {{ client.url }}
11
+ timeout: {{ client.timeout }}
12
+{% if client.basic_auth is defined %}
13
+ basic_auth:
14
+ username: {{ client.basic_auth.username }}
15
+ password: {{ client.basic_auth.password }}
16
+{% endif %}
17
+{% endfor %}
18
19
scrape_configs:
20
{{ promtail_scrape_configs | to_yaml(indent=2) }}
0 commit comments