OpenTelemetry PHP

NoopSpanProcessor
in package
implements SpanProcessorInterface

Table of Contents

Interfaces

SpanProcessorInterface

Properties

$instance  : SpanProcessorInterface|null

Methods

forceFlush()  : bool
Export all ended spans to the configured Exporter that have not yet been exported.
getInstance()  : SpanProcessorInterface
onEnd()  : void
onStart()  : void
shutdown()  : bool
Cleanup; after shutdown, calling onStart, onEnd, or forceFlush is invalid Returns `false` is the processor is already shutdown, otherwise `true`.

Properties

Methods

shutdown()

Cleanup; after shutdown, calling onStart, onEnd, or forceFlush is invalid Returns `false` is the processor is already shutdown, otherwise `true`.

public shutdown([CancellationInterface|null $cancellation = null ]) : bool
Parameters
$cancellation : CancellationInterface|null = null
Tags
inheritDoc
Return values
bool

        
On this page

Search results