Follow the traces pipeline
The CLI reads only referenced processors and rejects unsupported sampling policies rather than making a quiet guess.
You are offline. The planner still works locally; install commands need a connection.
OpenTelemetry / pre-deploy audit
Autoscaling should not multiply your tail-sampling bill. Read the config, model the fleet, and fail a deploy before the exported span volume escapes its limit.
01 / proof press
This browser model uses the CLI’s throughput formula. Values stay on this device and are not saved.
Safe per-instance goal at peak
spans/s
| Replicas | Fleet cap | Est. export | State |
|---|
Deploy assertion
Assumes steady-state input and an even load balance. The CLI reports additional config-specific assumptions.
02 / method
No trace payloads and no mystery model. The report distinguishes per-replica throughput goals from fleet-safe percentage policies.
The CLI reads only referenced processors and rejects unsupported sampling policies rather than making a quiet guess.
Local adaptive-throughput goals scale with replicas. Probabilistic and adaptive-percentage rates stay fractions of the load-balanced input.
Every scale scenario is checked against the budget plus tolerance. Exit code 3 blocks the deploy; JSON feeds the rest of CI.
03 / install
A single Rust binary, zero runtime services, stable exit codes. Start with the example config in the repository.
cargo install --git https://github.com/B-Divyesh/sf-sampling-budget-coordinator
sbc plan --config collector.yaml \
--budget 600 --replicas 3 \
--scenario 3,5,8 --input 12000
sbc assert --config collector.yaml \
--budget 600 --replicas 8 \
--input 12000 --json