You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
supervisor /metrics: per-connection hand-off counter, to make the OCP L4 (passthrough 1:1) check direct #430
Follow-up from #427 and the OpenShift acceptance run (#423, results).
Why: spec §10's L4 risk is that the passthrough Route must keep client connections 1:1 with supervisor connections. Today the only way to check this is counting established sockets inside the supervisor pod (/proc/net/tcp and /proc/net/tcp6; see deploy/k8s/README.md §9.3). The supervisor's /metrics (packages/supervisor/src/admin.ts, metricsBody) has no per-connection counter. handoff_retries, handoff_failures and over_admission can only serve as context.
Proposal:
Add a monotonically increasing handoffs counter, counting connections handed to a worker, and optionally connections_open, to metricsBody.
Then the L4 check becomes: client connections opened == handoffs delta.
Update the README §9.3 runbook and the spec §10 row to use it.
Activity