Skip to content

supervisor: the Envoy stall line does not say which processes took the CPU #1392

Closed

Description

@bpalermo

The supervisor's envoy thread stall line reports node busy percent and CPU PSI when an Envoy thread is starved, but not who had the CPU. The 10-08 soak investigation ended at "the kubelet serving its metrics endpoints is probably the burster" as an inference, because no per-process CPU exists at 1 s resolution.

Add to the stall line the top few CPU consumers over the stall interval (from /proc/<pid>/stat deltas, or per-cgroup cpu.stat deltas for /podruntime/*, /system, /kubepods), bounded in cost and in line length. The supervisor binary has a dependency and size budget (//agent/cmd/proxy-supervisor:deps_test): stdlib only.

From the 2026-10-08 sortie soak investigation (run directory ~/aether-soak-logs/1008-sortie-soak on the workstation).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementobservabilityproxy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions