function SummaryDataPoint::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>double sum = 5;</code>
Return value
float
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ SummaryDataPoint.php, line 253
Class
- SummaryDataPoint
- SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary metric.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function getSum() {
return $this->sum;
}