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