module documentation

Telemetry for SDK Core. (unstable)

Nothing in this module should be considered stable. The API may change.

Class OtelCollectorConfig Python representation of the Rust struct for configuring OTel.
Class PrometheusMetricsConfig Python representation of the Rust struct for configuring Prometheus.
Class TelemetryConfig Python representation of the Rust struct for configuring telemetry.
Function init_telemetry Initialize telemetry with the given configuration.
Variable _inited Undocumented
def init_telemetry(config: TelemetryConfig, *, warn_if_already_inited: bool = True) -> bool: (source)

Initialize telemetry with the given configuration.

This must be called before any Temporal client is created. Does nothing if already called.

Warning

This API is not stable and may change in a future release.

Parameters
config:TelemetryConfigTelemetry config.
warn_if_already_inited:boolIf True and telemetry is already initialized, this will emit a warning.
_inited: bool = (source)

Undocumented