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

Breadcrumb

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

function SynchronousMetricStream::__construct

@todo rector mistakenly makes $timestamp readonly, which conflicts with `self::push`. disabled in rector.php

File

vendor/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php, line 35

Class

SynchronousMetricStream
@internal @phan-file-suppress PhanUndeclaredTypeParameter, PhanUndeclaredTypeProperty

Namespace

OpenTelemetry\SDK\Metrics\Stream

Code

public function __construct(AggregationInterface $aggregation, int $timestamp) {
    $this->delta = new DeltaStorage($this->aggregation);
}
RSS feed
Powered by Drupal