Documentation
¶
Overview ¶
sandbox-loadgen measures the real "claim a pre-warmed sandbox from the warmpool" latency (the checkout path, NOT create-from-scratch) and exports it as Prometheus metrics.
It stands up a SandboxTemplate + SandboxWarmPool (replicas=--replicas), waits for the pool to warm, then SERIALLY (one outstanding at a time) issues SandboxClaims against the pool, fast-polls each to Ready (a warm sandbox has been delivered), records the claim latency at ms resolution, and releases the claim (delete) so the pool refills. Because it drives real SandboxClaims, the operator's own agent_sandbox_claim_startup_latency_ms is populated too.
Click to show internal directories.
Click to hide internal directories.