interface ExemplarReservoirInterface
Hierarchy
- interface \OpenTelemetry\SDK\Metrics\Exemplar\ExemplarReservoirInterface
Expanded class hierarchy of ExemplarReservoirInterface
All classes that implement ExemplarReservoirInterface
2 files declare their use of ExemplarReservoirInterface
- MetricAggregator.php in vendor/
open-telemetry/ sdk/ Metrics/ Stream/ MetricAggregator.php - StreamFactory.php in vendor/
open-telemetry/ sdk/ Metrics/ MetricFactory/ StreamFactory.php
File
-
vendor/
open-telemetry/ sdk/ Metrics/ Exemplar/ ExemplarReservoirInterface.php, line 11
Namespace
OpenTelemetry\SDK\Metrics\ExemplarView source
interface ExemplarReservoirInterface {
public function offer(int|string $index, float|int $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void;
/**
* @param array<AttributesInterface> $dataPointAttributes
* @return array<Exemplar>
*/
public function collect(array $dataPointAttributes) : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ExemplarReservoirInterface::collect | public | function | 4 | |
ExemplarReservoirInterface::offer | public | function | 4 |