loki-stack retention
This commit is contained in:
parent
7d3d517f7c
commit
90afeca6b5
@ -1,5 +1,14 @@
|
|||||||
|
# https://grafana.com/docs/loki/latest/operations/storage/retention/
|
||||||
loki:
|
loki:
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
storageClassName: "%PVC_STORAGECLASS%"
|
storageClassName: "%PVC_STORAGECLASS%"
|
||||||
size: "%PVC_STORAGE_SIZE%"
|
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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user