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