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

Breadcrumb

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

function TracerProviderBuilder::build

File

vendor/open-telemetry/sdk/Trace/TracerProviderBuilder.php, line 46

Class

TracerProviderBuilder

Namespace

OpenTelemetry\SDK\Trace

Code

public function build() : TracerProviderInterface {
    return new TracerProvider($this->spanProcessors, $this->sampler, $this->resource, configurator: $this->configurator ?? Configurator::tracer());
}

API Navigation

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