OpenTelemetry PHP

InMemoryExporter
in package
implements SpanExporterInterface uses SpanExporterTrait

Table of Contents

Interfaces

SpanExporterInterface

Properties

$running  : bool
$storage  : ArrayObject

Methods

__construct()  : mixed
export()  : FutureInterface<string|int, bool>
forceFlush()  : bool
getSpans()  : array<string|int, mixed>
getStorage()  : ArrayObject
shutdown()  : bool
doExport()  : bool

Properties

Methods

__construct()

public __construct([ArrayObject $storage = new ArrayObject() ]) : mixed
Parameters
$storage : ArrayObject = new ArrayObject()

getSpans()

public getSpans() : array<string|int, mixed>
Return values
array<string|int, mixed>

getStorage()

public getStorage() : ArrayObject
Return values
ArrayObject

doExport()

protected doExport(iterable<string|int, mixed> $spans) : bool
Parameters
$spans : iterable<string|int, mixed>
Return values
bool

        
On this page

Search results