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

Breadcrumb

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

function FixedSizeReservoir::collect

Overrides ExemplarReservoirInterface::collect

File

vendor/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php, line 32

Class

FixedSizeReservoir

Namespace

OpenTelemetry\SDK\Metrics\Exemplar

Code

public function collect(array $dataPointAttributes) : array {
    $this->measurements = 0;
    return $this->storage
        ->collect($dataPointAttributes);
}
RSS feed
Powered by Drupal