mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #938] Prune outdated history #659
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#659
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RoboMagus on GitHub (Jan 7, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/938
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 :)
@cuu508 commented on GitHub (Jan 7, 2024):
Entries from the
api_pingand theapi_notificationtables are being deleted automatically, see:github.com/healthchecks/healthchecks@ae94648efd/hc/api/models.py (L507)Entries from the
api_fliptable are not being deleted automatically, but there is apruneflipsmanagement command for that: https://github.com/healthchecks/healthchecks#database-cleanup@RoboMagus commented on GitHub (Jan 7, 2024):
Thanks! I figured something like that would've been implemented already, but I was not able to find it in the healthchecks.io documents.