Class Summary
java.lang.Object
io.opencensus.metrics.export.Summary
Implementation of the
Distribution as a summary of observations.
This is not recommended, since it cannot be aggregated.
- Since:
- 0.17
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the summary observation of the recorded events over a sliding time window. -
Method Summary
Modifier and TypeMethodDescriptionstatic Summarycreate(Long count, Double sum, Summary.Snapshot snapshot) Creates aSummary.abstract LonggetCount()Returns the aggregated count.abstract Summary.SnapshotReturns theSummary.Snapshot.abstract DoublegetSum()Returns the aggregated sum.
-
Method Details
-
create
Creates aSummary.- Parameters:
count- the count of the population values.sum- the sum of the population values.snapshot- bucket boundaries of a histogram.- Returns:
- a
Summarywith the given values. - Since:
- 0.17
-
getCount
-
getSum
-
getSnapshot
Returns theSummary.Snapshot.- Returns:
- the
Snapshot. - Since:
- 0.17
-