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

Breadcrumb

  1. Drupal Core 11.1.x

AllExemplarFilter.php

Namespace

OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter

File

vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter;

use OpenTelemetry\Context\ContextInterface;
use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;

/**
 * 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
 */
final class AllExemplarFilter implements ExemplarFilterInterface {
    public function accepts($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : bool {
        return true;
    }

}

Classes

Title Deprecated Summary
AllExemplarFilter The exemplar spec is not yet stable, and can change at any time.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal