Add Loki ruler config to loki.yml and defaults
This commit is contained in:
parent
f74de4a831
commit
84db437ca5
@ -76,6 +76,7 @@ loki_table_manager_config:
|
|||||||
retention_deletes_enabled: false
|
retention_deletes_enabled: false
|
||||||
retention_period: 0s
|
retention_period: 0s
|
||||||
|
|
||||||
|
loki_ruler_config: []
|
||||||
|
|
||||||
promtail_client_config:
|
promtail_client_config:
|
||||||
- url: "http://{{ loki_listen_address }}:{{ loki_listen_port }}/loki/api/v1/push"
|
- url: "http://{{ loki_listen_address }}:{{ loki_listen_port }}/loki/api/v1/push"
|
||||||
@ -100,4 +101,4 @@ promtail_scrape_config:
|
|||||||
|
|
||||||
promtail_target_config: []
|
promtail_target_config: []
|
||||||
promtail_positions_config:
|
promtail_positions_config:
|
||||||
filename: /tmp/positions.yaml
|
filename: /tmp/positions.yaml
|
||||||
|
@ -57,3 +57,7 @@ table_manager:
|
|||||||
runtime_config:
|
runtime_config:
|
||||||
{{ loki_runtime_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
{{ loki_runtime_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if loki_ruler_config != [] %}
|
||||||
|
ruler:
|
||||||
|
{{ loki_ruler_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user