function IntHistogramDataPoint::setCount
count is the number of values in the population. Must be non-negative. This value must be equal to the sum of the "count" fields in buckets if a histogram is provided.
Generated from protobuf field <code>fixed64 count = 4;</code>
Parameters
int|string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ IntHistogramDataPoint.php, line 250
Class
- IntHistogramDataPoint
- IntHistogramDataPoint is deprecated; use HistogramDataPoint.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function setCount($var) {
GPBUtil::checkUint64($var);
$this->count = $var;
return $this;
}