function NumberDataPoint::setStartTimeUnixNano
StartTimeUnixNano is optional but strongly encouraged, see the 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 start_time_unix_nano = 2;</code>
Parameters
int|string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ NumberDataPoint.php, line 152
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\V1Code
public function setStartTimeUnixNano($var) {
GPBUtil::checkUint64($var);
$this->start_time_unix_nano = $var;
return $this;
}