Skip to main content

Interface: TelemetryOptions

worker.TelemetryOptions

Properties

logging

Optional logging: Object

Control where to send Rust Core logs


metrics

Optional metrics: MetricsExporter

Control exporting NativeConnection and Worker metrics.

Turned off by default


noTemporalPrefixForMetrics

Optional noTemporalPrefixForMetrics: boolean

If set true, do not prefix metrics with temporal_. Will be removed eventually as the prefix is consistent with other SDKs.

Default

false


tracing

Optional tracing: { filter?: string } & Partial<OtelCollectorExporter>

Control where to send traces generated by Rust Core, optional and turned off by default.

This is typically used for profiling SDK internals.


tracingFilter

Optional tracingFilter: string

A string in the env filter format specified here: https://docs.rs/tracing-subscriber/0.2.20/tracing_subscriber/struct.EnvFilter.html

Which determines what tracing data is collected in the Core SDK.

Deprecated

Use either logging.filter or tracing.filter instead