Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ATMOSPHERE-467] Support loki log rotation #1942

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions roles/loki/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,28 @@ _loki_helm_values:
auth_enabled: false
commonConfig:
replication_factor: 1
compactor:
working_directory: /var/loki/compactor
compaction_interval: 10m
retention_enabled: true
delete_request_store: filesystem
retention_delete_delay: 2h
retention_delete_worker_count: 150
limits_config:
max_label_names_per_series: 25
retention_period: 30d
rulerConfig:
alertmanager_url: http://alertmanager-operated.monitoring:9093
enable_alertmanager_v2: true
enable_api: true
rule_path: /var/loki/rules-temp
ring:
kvstore:
store: inmemory
storage:
type: local
local:
directory: /var/loki/rulestorage
storage:
type: filesystem
schemaConfig:
Expand Down