blob: 1d5dec7b8012bd49d1d76573dd3abe33fa7d6be8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Metrics\Exemplar;
use OpenTelemetry\Context\ContextInterface;
use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
/**
* The exemplar spec is not yet stable, and can change at any time.
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
*/
interface ExemplarFilterInterface
{
/**
* @param float|int $value
*/
public function accepts($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): bool;
}
|