agentskit.js

SloOptions

Auto-generated API reference for SloOptions.

Interface: SloOptions

Defined in: observability/src/slo.ts:35

#Properties

#alert?

optional alert?: CostAlertSink

Defined in: observability/src/slo.ts:42

Alert sink. Same contract as cost-guard alerts so a single sink can fan-in.


#burnRateWindowsMs?

optional burnRateWindowsMs?: number[]

Defined in: observability/src/slo.ts:40

Burn-rate windows. Default [3_600_000, 21_600_000] (1h, 6h).


#now?

optional now?: () => number

Defined in: observability/src/slo.ts:44

Wall clock β€” overridable for tests.

#Returns

number


#stallThresholdMs?

optional stallThresholdMs?: number

Defined in: observability/src/slo.ts:38

First-token latency above this counts as a stall. Default 8000ms.


#targets?

optional targets?: SloTargets

Defined in: observability/src/slo.ts:36

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.