MetricReaderSourceRegistryInterface
extends
MetricReaderInterface, MetricSourceRegistryInterface, DefaultAggregationProviderInterface
in
Table of Contents
Methods
- add() : void
- collect() : bool
- defaultAggregation() : AggregationInterface|null
- forceFlush() : bool
- shutdown() : bool
Methods
add()
public
add(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata, StalenessHandlerInterface $stalenessHandler) : void
Parameters
- $provider : MetricSourceProviderInterface
- $metadata : MetricMetadataInterface
- $stalenessHandler : StalenessHandlerInterface
collect()
public
collect() : bool
Return values
booldefaultAggregation()
public
defaultAggregation(string|InstrumentType $instrumentType) : AggregationInterface|null
Parameters
- $instrumentType : string|InstrumentType
Tags
Return values
AggregationInterface|nullforceFlush()
public
forceFlush() : bool
Return values
boolshutdown()
public
shutdown() : bool