Skip to content

trace

trace(options?): PipelineBehaviorTuple<TraceBehavior, TraceBehaviorOptions>

Defined in: helpers/trace.intent.ts:17

Returns a trace behavior entry for pipeline.wrap() or createPipeline({ globalBehaviors }).

TraceBehaviorOptions = {}

Per-handler trace options; omitted fields use behavior defaults.

PipelineBehaviorTuple<TraceBehavior, TraceBehaviorOptions>

The behavior class and options tuple.

@pipeline.wrap({ kind: 'query' }, trace({ tracerName: 'users-api' }))