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

Breadcrumb

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

function Sum::__construct

Same name in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Metrics/Data/Sum.php \OpenTelemetry\SDK\Metrics\Data\Sum::__construct()

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points @type int $aggregation_temporality aggregation_temporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time. @type bool $is_monotonic If "true" means that the sum is monotonic. }

Overrides Message::__construct

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php, line 51

Class

Sum
Sum represents the type of a scalar metric that is calculated as a sum of all reported measurements over a time interval.

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
    parent::__construct($data);
}

API Navigation

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