function ExponentialHistogramDataPoint::setExemplars
(Optional) List of exemplars collected from measurements that were used to form the data point
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
Parameters
\Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ ExponentialHistogramDataPoint.php, line 601
Class
- ExponentialHistogramDataPoint
- ExponentialHistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains summary statistics for a population of values, it may optionally…
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function setExemplars($var) {
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class);
$this->exemplars = $arr;
return $this;
}