Skip to main content

telemetry_enabled

Function telemetry_enabled 

Source
pub fn telemetry_enabled() -> bool
Expand description

The EFFECTIVE telemetry-enabled state — the single source of truth for “is telemetry on?”. Both a future emitter and cleanlib status MUST call this rather than reading TelemetryConfig::enabled, so the file’s pre-ticked true can never be reported as enabled (CLEANLIB-627, the status-honesty defect + PM gate c). See [resolve_telemetry] for the rules.