Raxx · internal docs

internal · gated

DET-COST-001 — dyno-hour spike

Rule ID: DET-COST-001 Title: Heroku dyno-hour spend rate above the 99.9th percentile of the prior 7 days Category: cost Last validated: 2026-06-04 (initial catalog, dormant) State: dormant — requires Heroku Platform API scraper (campaign prerequisite §P6)

Telemetry source

Statistical method + baseline window

Threshold + expected FP rate

Alert route

Escalation owner

Test fixture / synthetic positive

See _fixtures/dyno_hour_spike_positive.json for a synthetic 10-min sample showing $3.40/hr against a 7d baseline P99.9 of $0.85/hr.

What to do when this fires

  1. Identify the app and dyno type whose spend spiked. Recent deploy? Manual scale? Autoscale event?
  2. Check Heroku dashboard for the app's dyno graph; correlate with deploy timeline.
  3. If runaway autoscale: cap formation via heroku ps:scale web=N (operator-only); dispatch sre-agent for root-cause.
  4. If leaked worker (a worker dyno that should have exited but is still running): inspect worker log for infinite-loop signature.

What NOT to do