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

Breadcrumb

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

function MultiSpanProcessor::shutdown

@inheritDoc

Overrides SpanProcessorInterface::shutdown

File

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

Class

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

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public function shutdown(?CancellationInterface $cancellation = null) : bool {
    $result = true;
    foreach ($this->processors as $processor) {
        $result = $result && $processor->shutdown();
    }
    return $result;
}
RSS feed
Powered by Drupal