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

Breadcrumb

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

function MultiSpanProcessor::__construct

File

vendor/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php, line 22

Class

MultiSpanProcessor
Class SpanMultiProcessor is a SpanProcessor that forwards all events to an array of SpanProcessors.

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public function __construct(SpanProcessorInterface ...$spanProcessors) {
    foreach ($spanProcessors as $processor) {
        $this->addSpanProcessor($processor);
    }
}
RSS feed
Powered by Drupal