Tests whether an auto-instrumentation package has been disabled by config
public static function isInstrumentationDisabled(string $name) : bool { $disabledInstrumentations = Configuration::getList(Variables::OTEL_PHP_DISABLED_INSTRUMENTATIONS); return [ self::OTEL_PHP_DISABLED_INSTRUMENTATIONS_ALL, ] === $disabledInstrumentations || in_array($name, $disabledInstrumentations); }