gatus: watch the 99stack runway

99stack is prepaid: when the balance runs out the servers stop. A pulled
check on the account API alerts when billing.secondsdue - the provider's own
runway at current spend - drops under 14 days: checked every 6h, reminding
every 24h. gatus_endpoint gains a `headers` field for APIs behind a
credential.

The vault gains ninetyninestack_api_token (account-wide; 99stack has no
read-only scope) and gatus_push_tokens.arbret, used by the next commit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
counterweight 2026-10-19 22:10:26 +02:00
parent d50774c39a
commit 3be5e7934c
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
4 changed files with 277 additions and 219 deletions

View file

@ -12,6 +12,7 @@ gatus_endpoint_name: ""
#
# A DNS check adds `dns: {query-type, query-name}` - and note that for those,
# `url` is the RESOLVER to ask, not the name being looked up.
# An API behind a credential adds `headers: {Authorization: ...}`.
# A domain-expiry check is just `url: <domain>` with a [DOMAIN_EXPIRATION]
# condition; it uses WHOIS/RDAP and needs no scheme.
gatus_endpoint_pulled: []