ResiliencePipelineBuilderOptions
Defined in: src/pipeline-builder.ts:28
Properties
Section titled “Properties”instrumentation?
Section titled “instrumentation?”
optionalinstrumentation?: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.
optionalname?:string
Defined in: src/pipeline-builder.ts:30
Labels telemetry events.
optionaltags?: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' }).
telemetry?
Section titled “telemetry?”
optionaltelemetry?:boolean
Defined in: src/pipeline-builder.ts:40
false: this pipeline emits no telemetry events (no metrics, stats or span events).
timeProvider?
Section titled “timeProvider?”
optionaltimeProvider?:TimeProvider
Defined in: src/pipeline-builder.ts:32
Clock and timers for every strategy. Default: the system clock. Use FakeTimeProvider in tests.
unrefTimers?
Section titled “unrefTimers?”
optionalunrefTimers?: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.