Commands
Use manual commands for verification and maintenance windows.
shell
DRY_RUN=true bin/rails "logister:telemetry:retention"
bin/rails "logister:telemetry:archive[ingest_events,30]"
bin/rails "logister:telemetry:archive[trace_spans,30]"
CONFIRM=prune bin/rails "logister:telemetry:prune_hot[30]"Verify
Check the UI and the bucket.
- Run a dry retention pass and confirm candidate counts.
- Run retention on a low-risk project.
- Open
Project > Settings > Dataand review Recent archive runs. - Confirm the
.jsonl.gzobjects exist in object storage. - Download one object, decompress it, and confirm each line parses as JSON.
Failures
Retention failures should be visible.
Failed archive runs are recorded with an error message and can send retention failure notifications. If archive-before-delete is enabled, fix storage first, then rerun retention.