Skip to main content

Interface: OpenTelemetryPluginOptions

Experimental

Configuration options for OpenTelemetryPlugin.

Plugins is an experimental feature; APIs may change without notice.

Extends​

  • InterceptorOptions

Properties​

encodeClientHeaders?​

readonly optional encodeClientHeaders?: boolean

Experimental

Encode only this plugin's client tracing headers with the client's configured payload codecs. Defaults to false. Register after plugins that configure the data converter. Workflow header processing is controlled independently by WorkerOptions.codecHeaders.


resource​

readonly resource: Resource

Experimental

OpenTelemetry resource attributes to attach to exported spans


spanProcessor​

readonly spanProcessor: SpanProcessor

Experimental

Exporter used to send spans to a tracing backend


tracer?​

readonly optional tracer?: Tracer

Experimental

Inherited from​

InterceptorOptions.tracer