DigitalOcean Bandwidth Watchdog: skip alerting unless DO API calls fail on **2** successive invocations. #2

Open
opened 2026-03-11 00:04:20 +00:00 by taf · 0 comments
Owner

Currently, I get a text every few days or so due to sporadic failures in either my network, DO's Invoice API, or DO's Metrics API. These constitute false-alarms for my purposes. We should tweak this to track if the previous run got a bad status code from cURL and skip one-off failures which are either spurious or else it's relatively safe to pretend that they are.

Currently, I get a text every few days or so due to sporadic failures in either my network, DO's Invoice API, or DO's Metrics API. These constitute false-alarms for my purposes. We should tweak this to track if the _previous_ run got a bad status code from cURL and skip one-off failures which are either spurious or else it's relatively safe to pretend that they are.
Sign in to join this conversation.
No labels
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
taf/snippets#2
No description provided.