Controls which OpenTelemetry spans are emitted. Spans are only
captured when an OTel SDK (TracerProvider + exporter) is registered
before workers start. Without an SDK, all span calls are no-ops.
All info spans + DISPATCH/{type}/{name}/{idx}, RETURN/{type}/{name}/{idx} + engine internals
All activity types + all stream hops
Setup
Register an OpenTelemetry SDK with a trace exporter before
calling Durable.Worker.create(). Any OTLP-compatible backend
works (Honeycomb, Jaeger, Grafana Tempo, etc.):
Controls which OpenTelemetry spans are emitted. Spans are only captured when an OTel SDK (TracerProvider + exporter) is registered before workers start. Without an SDK, all span calls are no-ops.
Modes
'info'(default)WORKFLOW/START,WORKFLOW/COMPLETE,WORKFLOW/ERROR,ACTIVITY/{name}'debug'infospans +DISPATCH/{type}/{name}/{idx},RETURN/{type}/{name}/{idx}+ engine internalsSetup
Register an OpenTelemetry SDK with a trace exporter before calling
Durable.Worker.create(). Any OTLP-compatible backend works (Honeycomb, Jaeger, Grafana Tempo, etc.):