openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Monitor backend uptime with Pingdom checks

Open Al629176 opened this issue 6 months ago • 0 comments

Summary

Implement uptime monitoring for OpenHuman backend servers using Pingdom or an equivalent ping-down monitor so downtime is detected and reported quickly.

Problem / Context

Backend/API downtime can currently go unnoticed until users report failures. OpenHuman needs an external uptime monitor that continuously checks critical backend endpoints and alerts the team when the service is down, degraded, or unreachable.

This matters because backend outages break login, integrations, agent calls, billing, and other core app flows. A Pingdom uptime check gives the team a simple external signal that is independent of app-side telemetry.

Constraints:

  • Monitoring should check externally reachable production and staging endpoints, not only internal health.
  • Alerts should route to the right team channel with enough context to act.
  • Checks should avoid false positives from endpoints that require auth or have expected intermittent behavior.
  • Secrets, tokens, or private headers should not be embedded in monitor config unless managed securely.

Scope (optional)

Set up Pingdom uptime checks, or a compatible equivalent if Pingdom is not the final vendor, for key backend surfaces such as:

  • Public API health endpoint.
  • Auth/backend reachability.
  • Any critical production/staging endpoint needed for app startup.

Document the monitor configuration, alert policy, escalation path, and how to test an alert safely.

Acceptance criteria

  • [ ] Backend monitors configured — Production backend servers have external uptime checks configured in Pingdom or an approved equivalent.
  • [ ] Staging monitors configured — Staging backend endpoints are monitored separately from production where applicable.
  • [ ] Critical endpoints covered — Monitors cover the backend/API endpoints required for login, app startup, and core server availability.
  • [ ] Alerts routed — Downtime alerts are delivered to the agreed team channel or incident destination with endpoint, environment, status, and timestamp.
  • [ ] Recovery notifications enabled — The team receives recovery/up notifications after an outage resolves.
  • [ ] False positives reduced — Check intervals, timeout thresholds, and expected status codes are tuned to avoid noisy alerts.
  • [ ] Runbook documented — Documentation explains what is monitored, who owns alerts, how to test, and what to do when a monitor fires.
  • [ ] No secrets leaked — Monitor configuration does not expose API keys, auth tokens, or sensitive headers outside approved secret storage.
  • [ ] Regression safety — Add or update deploy/ops checks where practical to ensure health endpoints used by monitors remain available.
  • [ ] Diff coverage ≥ 80% — the implementing PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by .github/workflows/coverage.yml) when code changes are involved.

Related

  • Pingdom: https://www.pingdom.com/
  • Backend reliability and incident alerting workstream.

Al629176 avatar May 18 '26 07:05 Al629176