Add Loki ruler config to loki.yml and defaults

This commit is contained in:
Rutger 2021-08-09 12:24:36 +02:00
parent f74de4a831
commit 84db437ca5
2 changed files with 6 additions and 1 deletions

View File

@ -76,6 +76,7 @@ loki_table_manager_config:
retention_deletes_enabled: false
retention_period: 0s
loki_ruler_config: []
promtail_client_config:
- url: "http://{{ loki_listen_address }}:{{ loki_listen_port }}/loki/api/v1/push"

View File

@ -57,3 +57,7 @@ table_manager:
runtime_config:
{{ loki_runtime_config | to_nice_yaml(indent=2) | indent(2, False) }}
{% endif %}
{% if loki_ruler_config != [] %}
ruler:
{{ loki_ruler_config | to_nice_yaml(indent=2) | indent(2, False) }}
{% endif %}