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

Breadcrumb

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

function SimpleSpanProcessor::__construct

File

vendor/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php, line 31

Class

SimpleSpanProcessor

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public function __construct(SpanExporterInterface $exporter) {
    $this->exportContext = Context::getCurrent();
    $this->queue = new SplQueue();
}
RSS feed
Powered by Drupal