AggregationTemporalitySelectorInterface
in
Table of Contents
Methods
- temporality() : string|Temporality|null
- Returns the temporality to use for the given metric.
Methods
temporality()
Returns the temporality to use for the given metric.
public
temporality(MetricMetadataInterface $metric) : string|Temporality|null
It is recommended to return MetricMetadataInterface::temporality() if the exporter does not require a specific temporality.
Parameters
- $metric : MetricMetadataInterface
Return values
string|Temporality|null —temporality to use, or null to signal that the given metric should not be exported by this exporter