Add compactor
This commit is contained in:
parent
30c5d39efc
commit
006f1c3370
@ -76,6 +76,14 @@ loki_table_manager_config:
|
||||
retention_deletes_enabled: false
|
||||
retention_period: 0s
|
||||
|
||||
loki_compactor_config:
|
||||
working_directory: "{{ loki_storage_dir }}/compactor"
|
||||
shared_store: filesystem
|
||||
compaction_interval: 10m
|
||||
retention_enabled: true
|
||||
retention_delete_delay: 2h
|
||||
retention_delete_worker_count: 50
|
||||
|
||||
promtail_client_config:
|
||||
- url: "http://{{ loki_listen_address }}:{{ loki_listen_port }}/loki/api/v1/push"
|
||||
|
||||
|
@ -57,3 +57,8 @@ table_manager:
|
||||
runtime_config:
|
||||
{{ loki_runtime_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
||||
{% endif %}
|
||||
|
||||
{% if loki_runtime_config != [] %}
|
||||
compactor:
|
||||
{{ loki_compactor_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user