Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AutoRootSpan.php

function AutoRootSpan::isEnabled

1 call to AutoRootSpan::isEnabled()
SdkAutoloader::autoload in vendor/open-telemetry/sdk/SdkAutoloader.php

File

vendor/open-telemetry/sdk/Trace/AutoRootSpan.php, line 27

Class

AutoRootSpan

Namespace

OpenTelemetry\SDK\Trace

Code

public static function isEnabled() : bool {
    return !empty($_SERVER['REQUEST_METHOD'] ?? null) && Configuration::getBoolean(Variables::OTEL_PHP_EXPERIMENTAL_AUTO_ROOT_SPAN);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal