ActorForwardingMetricExporter
in package
implements
PushMetricExporterInterface, AggregationTemporalitySelectorInterface
uses
ForwardsBatchesToActor
FinalYes
Tags
Table of Contents
Interfaces
- PushMetricExporterInterface
- AggregationTemporalitySelectorInterface
Methods
- __construct() : mixed
- attach() : void
- export() : bool
- forceFlush() : bool
- shutdown() : bool
- temporality() : Temporality|string|null
Methods
__construct()
public
__construct(PushMetricExporterInterface $inner[, Meter $meter = new NoopMeter() ]) : mixed
Parameters
attach()
public
attach(ActorRef<string|int, ExportCommand> $ref) : void
Parameters
- $ref : ActorRef<string|int, ExportCommand>
export()
public
export(iterable<string|int, mixed> $batch) : bool
Parameters
- $batch : iterable<string|int, mixed>
Attributes
- #[Override]
Return values
boolforceFlush()
public
forceFlush() : bool
Attributes
- #[Override]
Return values
boolshutdown()
public
shutdown() : bool
Attributes
- #[Override]
Return values
booltemporality()
public
temporality(MetricMetadataInterface $metric) : Temporality|string|null
Parameters
- $metric : MetricMetadataInterface
Attributes
- #[Override]