[GH-ISSUE #572] Increase log length #415

Closed
opened 2026-02-25 23:42:23 +03:00 by kerem · 5 comments
Owner

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.

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.
kerem 2026-02-25 23:42:23 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@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.

<!-- gh-comment-id:958756877 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:959038116 --> @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.
Author
Owner

@cuu508 commented on GitHub (Feb 14, 2022):

Related: #609

<!-- gh-comment-id:1038880393 --> @cuu508 commented on GitHub (Feb 14, 2022): Related: #609
Author
Owner

@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):

image

<!-- gh-comment-id:1243721340 --> @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 https://github.com/healthchecks/healthchecks/commit/37bbe5a9c7b37878a658209e9ebed5d7639a05fa): ![image](https://user-images.githubusercontent.com/661859/189663017-055459bb-3869-4612-83bf-e49d5085e633.png)
Author
Owner

@caleb15 commented on GitHub (Sep 12, 2022):

Thanks!

On Mon, Sep 12, 2022, 6:12 AM Pēteris Caune @.***>
wrote:

Closed #572 https://github.com/healthchecks/healthchecks/issues/572 as
completed.


Reply to this email directly, view it on GitHub
https://github.com/healthchecks/healthchecks/issues/572#event-7367427268,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCZY6NZ3AWSYZRFOVCPJLDV54T4RANCNFSM5GADZVBA
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:1243969822 --> @caleb15 commented on GitHub (Sep 12, 2022): Thanks! On Mon, Sep 12, 2022, 6:12 AM Pēteris Caune ***@***.***> wrote: > Closed #572 <https://github.com/healthchecks/healthchecks/issues/572> as > completed. > > — > Reply to this email directly, view it on GitHub > <https://github.com/healthchecks/healthchecks/issues/572#event-7367427268>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALCZY6NZ3AWSYZRFOVCPJLDV54T4RANCNFSM5GADZVBA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#415
No description provided.