Add compactor
This commit is contained in:
parent
30c5d39efc
commit
8d9bd3b378
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
roles/*
|
||||
!roles/requirements.yml
|
||||
node_modules
|
||||
.yarn
|
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
@ -0,0 +1 @@
|
||||
nodeLinker: node-modules
|
@ -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) }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user