15.1.2 Time-based cleanup ¶
Time-based cleanup removes reports created before a specified cutoff date (e.g.,
older than 365 days). Choose between:
- Full purge: Deletes all report data, including related records like notes, logs, and attachments. Ideal for complete cleanup but loses all historical details.
- Partial purge: Preserves core report metadata (e.g., for graphs and counts) while deleting detailed data like backtraces, contexts, and breadcrumbs. Useful for maintaining overviews without full storage.
Set the retention period in days; the job identifies eligible reports and
processes them in batches to avoid locking issues.
For example, with a 90-day partial purge, reports from 91+ days ago keep basic
stats but lose stack traces.