Skip to content

Commit

Permalink
feat: add log retention
Browse files Browse the repository at this point in the history
  • Loading branch information
dy0gu committed Nov 26, 2024
1 parent 8e14028 commit d3a3000
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,14 @@ schema_config:
storage_config:
filesystem:
directory: /loki/chunks

compactor:
working_directory: /loki/retention
compaction_interval: 72h
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
delete_request_store: filesystem

limits_config:
retention_period: 744h

0 comments on commit d3a3000

Please sign in to comment.