function IntDataPoint::setTimeUnixNano
TimeUnixNano is required, see the detailed comments above Metric. 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 = 3;</code>
Parameters
int|string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ IntDataPoint.php, line 164
Class
- IntDataPoint
- IntDataPoint is deprecated. Use integer value in NumberDataPoint.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function setTimeUnixNano($var) {
GPBUtil::checkUint64($var);
$this->time_unix_nano = $var;
return $this;
}