Skip to main content

Namespace: opentelemetryV2

npm i @temporalio/interceptors-opentelemetry-v2

Interceptors that add OpenTelemetry tracing.

Documentation

Enumerations​

Classes​

Interfaces​

Type Aliases​

SerializableSpanContext​

Ƭ SerializableSpanContext: Omit<otel.SpanContext, "traceState"> & { traceState?: string }

Serializable version of SpanContext where traceState is converted to a string.

Variables​

SPAN_DELIMITER​

• Const SPAN_DELIMITER: ":"

Functions​

makeWorkflowExporter​

▸ makeWorkflowExporter(processor, resource): InjectedSink<OpenTelemetryWorkflowExporter>

Takes an opentelemetry SpanProcessor and turns it into an injected Workflow span exporter sink.

Parameters​

NameType
processorSpanProcessor
resourceResource

Returns​

InjectedSink<OpenTelemetryWorkflowExporter>