Prune outdated history
RoboMagus opened this issue · comments
I've been looking around for an option where outdated status history (e.g. older than X days) could be auto deleted to avoid infinitely growing DBs on large systems.
I could be overlooking something, but if such a feature is not yet implemented it'd be a nice addition :)
Entries from the api_ping
and the api_notification
tables are being deleted automatically, see:
Line 507 in ae94648
Entries from the api_flip
table are not being deleted automatically, but there is a pruneflips
management command for that: https://github.com/healthchecks/healthchecks#database-cleanup
Thanks! I figured something like that would've been implemented already, but I was not able to find it in the healthchecks.io documents.