otelSdkDisabled top-level constant

String const otelSdkDisabled

Disables the SDK for all signals when set to "true".

If set to "true", a no-op SDK implementation will be used for all telemetry signals. Any other value or absence of the variable will have no effect and the SDK will remain enabled.

Type: Boolean (case-insensitive "true" or "false") Default: false

Implementation

const String otelSdkDisabled = 'OTEL_SDK_DISABLED';