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

Breadcrumb

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

function NumberDataPoint::setAsDouble

Generated from protobuf field <code>double as_double = 4;</code>

Parameters

float $var:

Return value

$this

File

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

Class

NumberDataPoint
NumberDataPoint is a single data point in a timeseries that describes the time-varying scalar value of a metric.

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function setAsDouble($var) {
    GPBUtil::checkDouble($var);
    $this->writeOneof(4, $var);
    return $this;
}

API Navigation

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