A checker that fell behind kept working off runs from minutes ago while
dispatch queued newer runs of the same monitors behind them, so a backlog
never shrank: pawhost and realtoxmedia stayed at about 50K overdue checks.
Queued runs now record when they were dispatched, and Take drops runs
that waited longer than two intervals. A newer run of the monitor has
been queued by then, since the next run is due at most one and a half
intervals after a dispatch. uptimesebi_checks_stale_total counts them.
Result claims, one Redis key per check result, lived 2 hours although
retries come within minutes. At about 530 results a second that was
4.5 million keys and 1.1 GiB of the shared Redis. They now live 10
minutes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The API serves Prometheus metrics on a listener of its own
(UPTIME_API_METRICS_LISTEN, default :9090, "off" disables it), so the
public ingress never exposes them:
- requests by route and status, with durations except for long polls
and agent streams
- dispatched checks, stored and rejected results per region, how late
results arrive, live checkers and overdue checks per platform region
- notification and subscriber mail deliveries, incidents opened and
resolved
- runs, duration and last success of the background jobs
- platform totals (orgs, users, monitors by type, status pages,
subscribers, open incidents, pending notifications), read at most
every 15 seconds when scraped
- the Postgres and Redis connection pools, Go runtime and build info
The Helm chart exposes the port on the API service and can add a
ServiceMonitor for the Prometheus Operator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3