loki-stack retention

This commit is contained in:
Dominik Chilla 2022-10-22 13:02:28 +02:00
parent 7d3d517f7c
commit 90afeca6b5

View File

@ -1,5 +1,14 @@
# https://grafana.com/docs/loki/latest/operations/storage/retention/
loki:
persistence:
enabled: true
storageClassName: "%PVC_STORAGECLASS%"
size: "%PVC_STORAGE_SIZE%"
config:
compactor:
retention_enabled: true
retention_delete_delay: "2h"
compaction_interval: "20m"
retention_delete_worker_count: 10
limits_config:
retention_period: "168h"