Interface SumData<T extends PointData>
-
- All Known Implementing Classes:
DoubleSumData,LongSumData
@Immutable public interface SumData<T extends PointData>A sum metric point.See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#sums
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationTemporalitygetAggregationTemporality()Returns theAggregationTemporalityof this metric,Collection<T>getPoints()Returns the dataPointDatas for this metric.booleanisMonotonic()Returns "true" if the sum is monotonic.
-
-
-
Method Detail
-
isMonotonic
boolean isMonotonic()
Returns "true" if the sum is monotonic.- Returns:
- "true" if the sum is monotonic
-
getAggregationTemporality
AggregationTemporality getAggregationTemporality()
Returns theAggregationTemporalityof this metric,AggregationTemporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- Returns:
- the
AggregationTemporalityof this metric
-
getPoints
Collection<T> getPoints()
Returns the dataPointDatas for this metric.- Returns:
- the data
PointDatas for this metric, or emptyCollectionif no points.
-
-