function Exemplar::setTimeUnixNano
time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
Parameters
int|string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ Exemplar.php, line 138
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 setTimeUnixNano($var) {
GPBUtil::checkUint64($var);
$this->time_unix_nano = $var;
return $this;
}