function HistogramDataPoint::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 = 8;</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/ HistogramDataPoint.php, line 456
Class
- HistogramDataPoint
- HistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a Histogram. A Histogram contains summary statistics for a population of values, it may optionally contain the distribution of those values across a…
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;
}