SloTargets
Auto-generated API reference for SloTargets.
Interface: SloTargets
Defined in: observability/src/slo.ts:20
SLO preset for AgentsKit. Tracks the four metrics that matter for an agent runtime in production:
- success rate (per agent / per skill / per tool)
- p50 / p95 / p99 latency
- tool-error rate
- streaming-stall rate (no chunk for
stallThresholdMs)
Exposes Prometheus + OpenTelemetry-shaped snapshots and burn-rate
alerts (1h + 6h windows) that fire into the same alert sink contract
the cost guard already uses (CostAlertSink-compatible payloads).
Closes issue #796.
#Properties
#latencyP95Ms?
optionallatencyP95Ms?:number
Defined in: observability/src/slo.ts:24
Milliseconds. Default 5000.
#streamingStallRate?
optionalstreamingStallRate?:number
Defined in: observability/src/slo.ts:28
0β1. Default 0.005.
#successRate?
optionalsuccessRate?:number
Defined in: observability/src/slo.ts:22
0β1. Default 0.99.
#toolErrorRate?
optionaltoolErrorRate?:number
Defined in: observability/src/slo.ts:26
0β1. Default 0.01.