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

Breadcrumb

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

function IntHistogramDataPoint::setSum

sum of the values in the population. If count is zero then this field must be zero. This value must be equal to the sum of the "sum" fields in buckets if a histogram is provided.

Generated from protobuf field <code>sfixed64 sum = 5;</code>

Parameters

int|string $var:

Return value

$this

File

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

Class

IntHistogramDataPoint
IntHistogramDataPoint is deprecated; use HistogramDataPoint.

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function setSum($var) {
    GPBUtil::checkInt64($var);
    $this->sum = $var;
    return $this;
}

API Navigation

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