ExemplarReservoirInterface
in
Table of Contents
Methods
Methods
collect()
public
collect(array<string|int, AttributesInterface> $dataPointAttributes) : array<string|int, Exemplar>
Parameters
- $dataPointAttributes : array<string|int, AttributesInterface>
Return values
array<string|int, Exemplar>offer()
public
offer(int|string $index, float|int $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void
Parameters
- $index : int|string
- $value : float|int
- $attributes : AttributesInterface
- $context : ContextInterface
- $timestamp : int