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

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExemplarReservoirInterface.php

interface ExemplarReservoirInterface

Hierarchy

  • interface \OpenTelemetry\SDK\Metrics\Exemplar\ExemplarReservoirInterface

Expanded class hierarchy of ExemplarReservoirInterface

All classes that implement ExemplarReservoirInterface

2 files declare their use of ExemplarReservoirInterface
MetricAggregator.php in vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php
StreamFactory.php in vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php

File

vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php, line 11

Namespace

OpenTelemetry\SDK\Metrics\Exemplar
View source
interface ExemplarReservoirInterface {
    public function offer(int|string $index, float|int $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void;
    
    /**
     * @param array<AttributesInterface> $dataPointAttributes
     * @return array<Exemplar>
     */
    public function collect(array $dataPointAttributes) : array;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ExemplarReservoirInterface::collect public function 4
ExemplarReservoirInterface::offer public function 4

API Navigation

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