Skip to content

ResiliencePipelineBuilderOptions

Defined in: src/pipeline-builder.ts:28

optional instrumentation?: false | Instrumentation

Defined in: src/pipeline-builder.ts:38

Instrumentation for this pipeline only (inside the global ones), or false to opt out of all instrumentation.


optional name?: string

Defined in: src/pipeline-builder.ts:30

Labels telemetry events.


optional tags?: Readonly<Record<string, string>>

Defined in: src/pipeline-builder.ts:36

Labels added to every telemetry event of this pipeline (e.g. { group: 'payments', team: 'billing' }).


optional telemetry?: boolean

Defined in: src/pipeline-builder.ts:40

false: this pipeline emits no telemetry events (no metrics, stats or span events).


optional timeProvider?: TimeProvider

Defined in: src/pipeline-builder.ts:32

Clock and timers for every strategy. Default: the system clock. Use FakeTimeProvider in tests.


optional unrefTimers?: boolean

Defined in: src/pipeline-builder.ts:34

Don’t let pending timers (retry delays, timeouts) keep the process alive. Ignored when timeProvider is set.