interface AggregationTemporalitySelectorInterface
Hierarchy
- interface \OpenTelemetry\SDK\Metrics\AggregationTemporalitySelectorInterface
Expanded class hierarchy of AggregationTemporalitySelectorInterface
All classes that implement AggregationTemporalitySelectorInterface
4 files declare their use of AggregationTemporalitySelectorInterface
- ConsoleMetricExporter.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricExporter/ ConsoleMetricExporter.php - ExportingReader.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricReader/ ExportingReader.php - InMemoryExporter.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricExporter/ InMemoryExporter.php - MetricExporter.php in vendor/
open-telemetry/ exporter-otlp/ MetricExporter.php
File
-
vendor/
open-telemetry/ sdk/ Metrics/ AggregationTemporalitySelectorInterface.php, line 9
Namespace
OpenTelemetry\SDK\MetricsView source
interface AggregationTemporalitySelectorInterface {
/**
* Returns the temporality to use for the given metric.
*
* It is recommended to return {@see MetricMetadataInterface::temporality()}
* if the exporter does not require a specific temporality.
*
* @return string|Temporality|null temporality to use, or null to signal
* that the given metric should not be exported by this exporter
*/
public function temporality(MetricMetadataInterface $metric);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
AggregationTemporalitySelectorInterface::temporality | public | function | Returns the temporality to use for the given metric. | 3 |