Skip to main content

telemetry.settings

Environment-driven OpenTelemetry settings for the exp microservice.

The exp service should remain stateless and easy to bootstrap in both local Docker and Azure deployments. This module centralizes the small runtime surface needed to decide whether telemetry is enabled, which exporters should run, and which resource attributes identify the service.

TelemetrySettings Objects

@dataclass(frozen=True, slots=True)
class TelemetrySettings()

Resolved OpenTelemetry settings for the current process.

get_telemetry_settings

def get_telemetry_settings() -> TelemetrySettings

Return the resolved OpenTelemetry settings for the current process.

// was this page useful?