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

Breadcrumb

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

function Globals::tracerProvider

2 calls to Globals::tracerProvider()
CachedInstrumentation::tracer in vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php
SdkAutoloader::createLateBindingTracerProvider in vendor/open-telemetry/sdk/SdkAutoloader.php

File

vendor/open-telemetry/api/Globals.php, line 41

Class

Globals
Provides access to the globally configured instrumentation instances.

Namespace

OpenTelemetry\API

Code

public static function tracerProvider() : TracerProviderInterface {
    return Context::getCurrent()->get(ContextKeys::tracerProvider()) ?? self::globals()->tracerProvider;
}

API Navigation

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