Interface SummaryPointData
- All Superinterfaces:
PointData
Point data for
SummaryData.- Since:
- 1.14.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic SummaryPointDatacreate(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Attributes attributes, long count, double sum, List<ValueAtQuantile> percentileValues) Create a record.longgetCount()Returns the count of measurements.doublegetSum()Returns the sum of measurements.Returns the list of values at different quantiles in the distribution of measurements.Methods inherited from interface io.opentelemetry.sdk.metrics.data.PointData
getAttributes, getEpochNanos, getExemplars, getStartEpochNanos
-
Method Details
-
create
static SummaryPointData create(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Attributes attributes, long count, double sum, List<ValueAtQuantile> percentileValues) Create a record.- Since:
- 1.50.0
-
getCount
long getCount()Returns the count of measurements. -
getSum
double getSum()Returns the sum of measurements. -
getValues
List<ValueAtQuantile> getValues()Returns the list of values at different quantiles in the distribution of measurements.Note: a quantile 0.0 represents the minimum value in the distribution; a quantile 1.0 represents the maximum value in the distribution.
-