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

Breadcrumb

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

function MultiSpanProcessor::onStart

@inheritDoc

Overrides SpanProcessorInterface::onStart

File

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

Class

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

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public function onStart(ReadWriteSpanInterface $span, ContextInterface $parentContext) : void {
    foreach ($this->processors as $processor) {
        $processor->onStart($span, $parentContext);
    }
}
RSS feed
Powered by Drupal