blob: 010aeff20bde8783e2ce047c29bdc73026ca58fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics\Exemplar;
use OpenTelemetry\Context\ContextInterface;
use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
final class NoopReservoir implements ExemplarReservoirInterface
{
public function offer($index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void
{
// no-op
}
public function collect(array $dataPointAttributes): array
{
return [];
}
}
|