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

Breadcrumb

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

function MultiSpanProcessor::onEnd

@inheritDoc

Overrides SpanProcessorInterface::onEnd

File

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

Class

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

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public function onEnd(ReadableSpanInterface $span) : void {
    foreach ($this->processors as $processor) {
        $processor->onEnd($span);
    }
}
RSS feed
Powered by Drupal