main

In-flight call count for THIS worker — the drain signal for deploys.

A deploy orchestrator polls this per worker and waits for zero before sending SIGTERM, because uvicorn force-closes live call WebSockets (close code 1012) on SIGTERM and would cut calls mid-conversation otherwise. The count is per-process: one uvicorn per VM port (scripts/rolling_update.sh) or per Kubernetes pod (preStop hook). See api/services/observability/active_calls.py.

get/api/v1/health/active-calls

Request

  • Base URL
    https://app.dograh.com
  • URL
    https://app.dograh.com/api/v1/health/active-calls
  • Auth
    none declared

Headers

X-Dograh-Devops-Secretstring nullable

Response

Successful Response

active_callsinteger required
loop_lag_p95_msnumber
loop_lag_max_msnumber

Changes