sum property

  1. @TagNumber.new(5)
double get sum

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/specification/OpenMetrics.md#summary

Implementation

@$pb.TagNumber(5)
$core.double get sum => $_getN(3);
  1. @TagNumber.new(5)
set sum (double v)

Implementation

@$pb.TagNumber(5)
set sum($core.double v) {
  $_setDouble(3, v);
}