function ExponentialHistogramDataPoint::getSum
sum of the values in the population. If count is zero then this field must be zero. Note: Sum should only be filled out when measuring non-negative discrete events, and is assumed to be monotonic over the values of these events. Negative events *can* be recorded, but sum should not be filled out when doing so. This is specifically to enforce compatibility w/ OpenMetrics, see: https://github.com/OpenObservability/OpenMetrics/blob/main/specificatio…
Generated from protobuf field <code>optional double sum = 5;</code>
Return value
float
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ ExponentialHistogramDataPoint.php, line 361
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 getSum() {
return isset($this->sum) ? $this->sum : 0.0;
}