StatsOptions
Defined in: src/stats.ts:3
Properties
Section titled “Properties”percentiles?
Section titled “percentiles?”
optionalpercentiles?:number[]
Defined in: src/stats.ts:9
Latency percentiles to report, as fractions. Default [0.5, 0.9, 0.99] → p50, p90, p99.
pipeline?
Section titled “pipeline?”
optionalpipeline?:string|string[]
Defined in: src/stats.ts:5
Only count these pipelines (by name). Default: every pipeline in the process.
timeProvider?
Section titled “timeProvider?”
optionaltimeProvider?:TimeProvider
Defined in: src/stats.ts:11
Default: the system clock with unref’d timers.
window?
Section titled “window?”
optionalwindow?:Duration
Defined in: src/stats.ts:7
Length of the rolling window. Default 10 s, kept as 10 buckets: data ages out one bucket (window / 10) at a time.