Interface SumData<T extends PointData>

All Superinterfaces:
Data<T>

@Immutable public interface SumData<T extends PointData> extends Data<T>
A sum metric point.

See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#sums

  • Method Details

    • isMonotonic

      boolean isMonotonic()
      Returns "true" if the sum is monotonic.
      Returns:
      "true" if the sum is monotonic
    • getAggregationTemporality

      AggregationTemporality getAggregationTemporality()
      Returns the AggregationTemporality of this metric,

      AggregationTemporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.

      Returns:
      the AggregationTemporality of this metric