function SpanProcessorInterface::shutdown
Cleanup; after shutdown, calling onStart, onEnd, or forceFlush is invalid Returns `false` is the processor is already shutdown, otherwise `true`.
See also
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7…
4 methods override SpanProcessorInterface::shutdown()
- BatchSpanProcessor::shutdown in vendor/
open-telemetry/ sdk/ Trace/ SpanProcessor/ BatchSpanProcessor.php - Cleanup; after shutdown, calling onStart, onEnd, or forceFlush is invalid Returns `false` is the processor is already shutdown, otherwise `true`.
- MultiSpanProcessor::shutdown in vendor/
open-telemetry/ sdk/ Trace/ SpanProcessor/ MultiSpanProcessor.php - @inheritDoc
- NoopSpanProcessor::shutdown in vendor/
open-telemetry/ sdk/ Trace/ SpanProcessor/ NoopSpanProcessor.php - @inheritDoc
- SimpleSpanProcessor::shutdown in vendor/
open-telemetry/ sdk/ Trace/ SpanProcessor/ SimpleSpanProcessor.php - Cleanup; after shutdown, calling onStart, onEnd, or forceFlush is invalid Returns `false` is the processor is already shutdown, otherwise `true`.
File
-
vendor/
open-telemetry/ sdk/ Trace/ SpanProcessorInterface.php, line 37
Class
- SpanProcessorInterface
- @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6…
Namespace
OpenTelemetry\SDK\TraceCode
public function shutdown(?CancellationInterface $cancellation = null) : bool;