Skip to content

Commit

Permalink
improve retention config
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Mar 1, 2024
1 parent 19ffc28 commit d8f1d4b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,20 @@ loki:
# minio s3
shared_store: s3
# how often compaction will happen
compaction_interval: 1m
compaction_interval: 1h
# should delete old logs after rentention delete delay
# ideally we would want to do storage based rentention, but this is not
# currently implemented in loki, that's why we're doing time based retention.
retention_enabled: true
# is the delay after which the Compactor will delete marked chunks.
retention_delete_delay: 1m
retention_delete_delay: 1h
# specifies the maximum quantity of goroutine workers instantiated to delete chunks.
retention_delete_worker_count: 150

limits_config:
# The minimum retention period is 24h.
# This is reasonable in most cases, but if people would like to retain logs for longer
# then they can override this variable from nebari-config.yaml
retention_period: 60d

schema_config:
Expand All @@ -54,7 +56,6 @@ loki:
# Shared store for keeping index files
shared_store: s3


# Configuration for the write pod(s)
write:
# -- Number of replicas for the write
Expand Down

0 comments on commit d8f1d4b

Please sign in to comment.