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

Breadcrumb

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

class NoopReservoir

Hierarchy

  • class \OpenTelemetry\SDK\Metrics\Exemplar\NoopReservoir implements \OpenTelemetry\SDK\Metrics\Exemplar\ExemplarReservoirInterface

Expanded class hierarchy of NoopReservoir

File

vendor/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php, line 10

Namespace

OpenTelemetry\SDK\Metrics\Exemplar
View source
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 [];
    }

}

Members

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

API Navigation

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