sandbox-loadgen

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2026 License: AGPL-3.0 Imports: 24 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL