Skip to main content

otel_sdk_disabled

Function otel_sdk_disabled 

Source
pub fn otel_sdk_disabled() -> bool
Expand description

Returns a boolean indicating if the OTEL SDK should be disabled for all signals.

It is considered disabled if the environment variable OTEL_SDK_DISABLED is set and not empty.