Configure the automatic expiration cleanup for Tempo. The compactor configuration in tempo.yml is as follows:
compactor:
ring:
kvstore:
store: memberlist
instance_interface_names:
- eth0
instance_addr: <IP>
instance_port: 9095
compaction:
compaction_cycle: 60s
compaction_window: 600s
block_retention: 10h
compacted_block_retention: 60m
retention_concurrency: 10
v2_in_buffer_bytes: 5242880
v2_out_buffer_bytes: 20971520
max_time_per_tenant: 20m
When the number of files in the bucket is small, cleanup succeeds. However, if the number increases slightly, the following error appears in the logs, preventing automatic cleanup.
error finding objects in s3 bucket, bucket: tempo: Truncated response should have continuation token set
error finding objects in s3 bucket, bucket: tempo: Truncated response should have continuation token set"
I suspect this occurs because AWS requests return a maximum of 1000 items by default. Beyond this limit, pagination is required, and Tempo fails to handle pagination properly, causing the error. Is my understanding correct? If so, how can this be resolved?