TrafficShape
@forge/monorepo / backend/src / TrafficShape
Type Alias: TrafficShape
TrafficShape =
object
Defined in: backend/src/loadtest/scenario.ts:23
Properties
approvalRate
readonlyapprovalRate:number
Defined in: backend/src/loadtest/scenario.ts:31
Fraction of runs that pause for an approval.
externalActionRate
readonlyexternalActionRate:number
Defined in: backend/src/loadtest/scenario.ts:29
Fraction of runs that call a tool with an external effect.
modelLatencyMs
readonlymodelLatencyMs:number
Defined in: backend/src/loadtest/scenario.ts:27
Simulated model latency per step.
providerTimeoutRate
readonlyproviderTimeoutRate:number
Defined in: backend/src/loadtest/scenario.ts:33
Fraction of steps where the provider times out before eventually succeeding.
rateLimitRate
readonlyrateLimitRate:number
Defined in: backend/src/loadtest/scenario.ts:35
Fraction of steps the provider rate-limits.
steps
readonlysteps:number
Defined in: backend/src/loadtest/scenario.ts:25
Steps a run takes before completing. More steps means more checkpoints and more to lose on a kill.