Class MetricData.SummaryPoint
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.data.MetricData.Point
-
- io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
-
- Enclosing class:
- MetricData
@Immutable public abstract static class MetricData.SummaryPoint extends MetricData.Point
SummaryPoint is a single data point that summarizes the values in a time series of numeric values.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static MetricData.SummaryPointcreate(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Labels labels, long count, double sum, java.util.List<MetricData.ValueAtPercentile> percentileValues)abstract longgetCount()The number of values that are being summarized.abstract java.util.List<MetricData.ValueAtPercentile>getPercentileValues()Percentile values in the summarization.abstract doublegetSum()The sum of all the values that are being summarized.-
Methods inherited from class io.opentelemetry.sdk.metrics.data.MetricData.Point
getEpochNanos, getLabels, getStartEpochNanos
-
-
-
-
Method Detail
-
getCount
public abstract long getCount()
The number of values that are being summarized.- Returns:
- the number of values that are being summarized.
-
getSum
public abstract double getSum()
The sum of all the values that are being summarized.- Returns:
- the sum of the values that are being summarized.
-
getPercentileValues
public abstract java.util.List<MetricData.ValueAtPercentile> getPercentileValues()
Percentile values in the summarization. Note: a percentile 0.0 represents the minimum value in the distribution.- Returns:
- the percentiles values.
-
create
public static MetricData.SummaryPoint create(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Labels labels, long count, double sum, java.util.List<MetricData.ValueAtPercentile> percentileValues)
-
-