function IntDataPoint::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $labels The set of labels that uniquely identify this timeseries. @type int|string $start_time_unix_nano 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. @type int|string $time_unix_nano 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. @type int|string $value value itself. @type \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars (Optional) List of exemplars collected from measurements that were used to form the data point }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ IntDataPoint.php, line 79
Class
- IntDataPoint
- IntDataPoint is deprecated. Use integer value in NumberDataPoint.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
parent::__construct($data);
}