SpanExporterTrait
Table of Contents
Properties
- $running : bool
Methods
- export() : FutureInterface<string|int, bool>
- forceFlush() : bool
- shutdown() : bool
- doExport() : bool
Properties
$running
private
bool
$running
= true
Methods
export()
public
export(iterable<string|int, SpanDataInterface> $batch[, CancellationInterface|null $cancellation = null ]) : FutureInterface<string|int, bool>
Parameters
- $batch : iterable<string|int, SpanDataInterface>
- $cancellation : CancellationInterface|null = null
Return values
FutureInterface<string|int, bool>forceFlush()
public
forceFlush([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Tags
Return values
boolshutdown()
public
shutdown([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Tags
Return values
booldoExport()
protected
abstract doExport(iterable<string|int, SpanDataInterface> $spans) : bool
Parameters
- $spans : iterable<string|int, SpanDataInterface>
-
Batch of spans to export