agentskit.js

SloOptions

Auto-generated API reference for SloOptions.

Interface: SloOptions

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

#Properties

#alert?

optional alert?: CostAlertSink

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

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:36

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


#now?

optional now?: () => number

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

Wall clock β€” overridable for tests.

#Returns

number


#stallThresholdMs?

optional stallThresholdMs?: number

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

A chunk gap > this counts as a stall. Default 8000ms.


#targets?

optional targets?: SloTargets

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

Explore nearby

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

On this page