Does singlebinary/object store filesystem support retention period? tablemanager went away and i’ve read compactor can’t be used wit singlebinary so how do i delete old data? Is there clear documentation on how to setup retention period for singlebinary - object store filesystem?
Is there no way to delete old data using retention period if using single binary object store filesystem?
if No is that why the helm chart example of type deploymentMode: SingleBinary has no configured way to delete the old data?
i’ll answer my own post. this seems to work
compactor:
working_directory: /var/loki/compactor
compaction_interval: 10m
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
delete_request_store: filesystem
i’m not sure why the default helm chart example for singlebinary doesn’t add this though
Lesson learned. singlebinary does use the compactor (check out metrics that shows what services are in the ring) but by default compactor doesn’t delete old data. You need retention_enabled.