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

Breadcrumb

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

function SumAggregation::record

Parameters

SumSummary $summary:

Overrides AggregationInterface::record

File

vendor/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php, line 29

Class

SumAggregation
@implements AggregationInterface<SumSummary>

Namespace

OpenTelemetry\SDK\Metrics\Aggregation

Code

public function record($summary, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void {
    $summary->value += $value;
}
RSS feed
Powered by Drupal