Skip to main content

Interface: TelemetryOptions

worker.TelemetryOptions

Properties

logging

Optional logging: TelemLogger

Control where to send Rust Core logs

Default

log to console


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: 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

Default

temporal_sdk_core=WARN