Nexus API Reference

ActorForwardingMetricExporter
in package
implements PushMetricExporterInterface, AggregationTemporalitySelectorInterface uses ForwardsBatchesToActor

FinalYes
Tags
psalm-api

Forwards metric batches to the OtlpExportActor once attached, buffering ahead of attachment and falling back to synchronous direct delegation if the actor dies.

see
ForwardsBatchesToActor

for the Buffering -> Live -> Direct state machine.

Table of Contents

Interfaces

PushMetricExporterInterface
AggregationTemporalitySelectorInterface

Methods

__construct()  : mixed
attach()  : void
export()  : bool
forceFlush()  : bool
shutdown()  : bool
temporality()  : Temporality|string|null

Methods

export()

public export(iterable<string|int, mixed> $batch) : bool
Parameters
$batch : iterable<string|int, mixed>
Attributes
#[Override]
Return values
bool

temporality()

public temporality(MetricMetadataInterface $metric) : Temporality|string|null
Parameters
$metric : MetricMetadataInterface
Attributes
#[Override]
Return values
Temporality|string|null
On this page

Search results