Skip to main content

is_telemetry_disabled

Function is_telemetry_disabled 

Source
pub fn is_telemetry_disabled() -> bool
Expand description

Check if telemetry is disabled via environment variables.

Telemetry is disabled when:

  • SOCKET_PATCH_TELEMETRY_DISABLED is "1" or "true"
  • VITEST is "true" (test environment)