Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

ExemplarFilterInterface.php

Namespace

OpenTelemetry\SDK\Metrics\Exemplar

File

vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php

View source
<?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 {
    public function accepts(float|int $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : bool;

}

Interfaces

Title Deprecated Summary
ExemplarFilterInterface The exemplar spec is not yet stable, and can change at any time.
RSS feed
Powered by Drupal