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

Breadcrumb

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

function Sum::setIsMonotonic

If "true" means that the sum is monotonic.

Generated from protobuf field <code>bool is_monotonic = 3;</code>

Parameters

bool $var:

Return value

$this

File

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

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 setIsMonotonic($var) {
    GPBUtil::checkBool($var);
    $this->is_monotonic = $var;
    return $this;
}

API Navigation

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