mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #572] Increase log length #415
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#415
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 @caleb15 on GitHub (Oct 14, 2021).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/572
I have a healthcheck that is pinged every minute. There were some failures last night so I checked the log to see if I needed to up the grace period but the log only went back to the start of today. If the log length could be increased to 5760 entries (the number of minutes in two days times two, because there's a started and ok event) then that would be great.
@cuu508 commented on GitHub (Nov 3, 2021):
On self-hosted instance, you can set the number of stored pings per check to an arbitrary value. In Django admin / Profiles look up the profile and change the "Ping log limit" field. Note that Healthchecks does not use pagination when viewing logs, they are all loaded in a single page. So if you set a too high value (say, 100'000+), both the server and your browser will start to struggle to load them all.
To increase the limit on the hosted service, https://healthchecks.io, there would be supporting changes needed. Pings are stored in postgres, they may need to be moved out to keep the database size down. May need pagination / filtering / search when viewing logs.
A possible workaround is to also store logs on the server being monitored. You will have X most recent logs in Healthchecks, and for older logs you would look them up on the server.
@caleb15 commented on GitHub (Nov 3, 2021):
We're paying for the hosted service. We also store cron runs as APM traces as well as logs, but it would be nice to have it in healthchecks too.
@cuu508 commented on GitHub (Feb 14, 2022):
Related: #609
@cuu508 commented on GitHub (Sep 12, 2022):
I've increased the log limit on the hosted service for the Business Plus Plan, from 1000 to 10'000.
To support the increase, the "Events" page now has date filters (implemented in
github.com/healthchecks/healthchecks@37bbe5a9c7):@caleb15 commented on GitHub (Sep 12, 2022):
Thanks!
On Mon, Sep 12, 2022, 6:12 AM Pēteris Caune @.***>
wrote: