function IntExemplar::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $filtered_labels The set of labels that were filtered out by the aggregator, but recorded alongside the original measurement. Only labels that were filtered out by the aggregator should be included @type int|string $time_unix_nano 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. @type int|string $value Numerical int value of the measurement that was recorded. @type string $span_id (Optional) Span ID of the exemplar trace. span_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled. @type string $trace_id (Optional) Trace ID of the exemplar trace. trace_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled. }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ IntExemplar.php, line 83
Class
- IntExemplar
- IntExemplar is deprecated. Use Exemplar with as_int for value
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
parent::__construct($data);
}