function Exemplar::setAsDouble
Generated from protobuf field <code>double as_double = 3;</code>
Parameters
float $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ Exemplar.php, line 165
Class
- Exemplar
- A representation of an exemplar, which is a sample input measurement. Exemplars also hold information about the environment when the measurement was recorded, for example the span and trace ID of the active span when the exemplar was recorded.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function setAsDouble($var) {
GPBUtil::checkDouble($var);
$this->writeOneof(3, $var);
return $this;
}