Healthchecks Pinging problems #828

Closed
opened 2024-02-15 14:13:10 +00:00 by xLogiiCx · 2 comments

What I'm trying to do and why

Hi, i have a Problem with the Healthchecks pinging feature.
I have 7 *.yaml configs and one common.yaml.
I specified one Healthchecks pinging URL.
So when borgmatic is running it does following:

1.yaml: Pinging Healthchecks start
1.yaml: Pinging Healthchecks log
1.yaml: Pinging Healthchecks finish
2.yaml: Pinging Healthchecks start
2.yaml: Pinging Healthchecks log
2.yaml: Pinging Healthchecks finish
...

but for the last .yaml i get following problem:

last.yaml: Pinging Healthchecks start
last.yaml: Pinging Healthchecks log
last.yaml: Pinging Healthchecks finish
last.yaml: Using Healthchecks ping URL https://hc-ping.com/xxx/xxx
last.yaml: Healthchecks error: 429 Client Error: Too Many Requests for url: https://hc-ping.com/xxx/xxx

So i guess its a rate-limiting problem.
Healthchecks.io Docs:
429 rate limit exceeded Rate limit exceeded. Please do not ping a single check more than 5 times per minute.

So i guess i have following options:

  • One Ping URL for a *.config file
  • Remove one Ping feature (e.g. Log)

But is there also an option, that Borgmatic does not Ping for each *.yaml file when there is only one Ping-Url specified?
So i get one start, one Log and one Finish ping for all of my config files?

borgmatic version

1.8.8

Borg version

1.2.7

Python version

Python 3.11.5

Operating system and version

docker container ghcr.io/borgmatic-collective/borgmatic

### What I'm trying to do and why Hi, i have a Problem with the Healthchecks pinging feature. I have 7 `*.yaml` configs and one `common.yaml`. I specified one Healthchecks pinging URL. So when borgmatic is running it does following: ``` 1.yaml: Pinging Healthchecks start 1.yaml: Pinging Healthchecks log 1.yaml: Pinging Healthchecks finish 2.yaml: Pinging Healthchecks start 2.yaml: Pinging Healthchecks log 2.yaml: Pinging Healthchecks finish ... ``` but for the last `.yaml` i get following problem: ``` last.yaml: Pinging Healthchecks start last.yaml: Pinging Healthchecks log last.yaml: Pinging Healthchecks finish last.yaml: Using Healthchecks ping URL https://hc-ping.com/xxx/xxx last.yaml: Healthchecks error: 429 Client Error: Too Many Requests for url: https://hc-ping.com/xxx/xxx ``` So i guess its a rate-limiting problem. Healthchecks.io Docs: `429 rate limit exceeded Rate limit exceeded. Please do not ping a single check more than 5 times per minute.` So i guess i have following options: - One Ping URL for a `*.config` file - Remove one Ping feature (e.g. Log) But is there also an option, that Borgmatic does not Ping for each `*.yaml` file when there is only one Ping-Url specified? So i get one start, one Log and one Finish ping for all of my config files? ### borgmatic version 1.8.8 ### Borg version 1.2.7 ### Python version Python 3.11.5 ### Operating system and version docker container `ghcr.io/borgmatic-collective/borgmatic`
Owner

Thanks for the clear explanation of the issue! My recommendation here is to go with the separate ping URL per config file approach, assuming that's not too onerous for you. borgmatic really treats each configuration file independently (as a distinct backup process) and currently doesn't do any coordination across config files.

An alternative might be to run a self-hosted Healthchecks instance, would might allow you to work around the rate limiting since you'd own the server. However with a cursory search I didn't see a Healthchecks configuration option for that.

Thanks for the clear explanation of the issue! My recommendation here is to go with the separate ping URL per config file approach, assuming that's not too onerous for you. borgmatic really treats each configuration file independently (as a distinct backup process) and currently doesn't do any coordination _across_ config files. An alternative might be to run a self-hosted Healthchecks instance, would might allow you to work around the rate limiting since you'd own the server. However with a cursory search I didn't see a Healthchecks configuration option for that.
Author

Thank you for your response.
Self-hosting seems like a good Idea.

Thank you for your response. Self-hosting seems like a good Idea.
witten added the
question / support
label 2024-02-15 17:10:46 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
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: borgmatic-collective/borgmatic#828
No description provided.