Class ImmutableSummaryPointData
java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableSummaryPointData
- All Implemented Interfaces:
PointData
,SummaryPointData
- Direct Known Subclasses:
AutoValue_ImmutableSummaryPointData
@Immutable
public abstract class ImmutableSummaryPointData
extends Object
implements SummaryPointData
A single data point that summarizes the values in a time series of numeric values.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableSummaryPointData
create
(long startEpochNanos, long epochNanos, Attributes attributes, long count, double sum, List<ValueAtQuantile> percentileValues) Creates aSummaryPointData
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.opentelemetry.sdk.metrics.data.PointData
getAttributes, getEpochNanos, getExemplars, getStartEpochNanos
Methods inherited from interface io.opentelemetry.sdk.metrics.data.SummaryPointData
getCount, getSum, getValues
-
Constructor Details
-
ImmutableSummaryPointData
ImmutableSummaryPointData()
-
-
Method Details
-
create
public static ImmutableSummaryPointData create(long startEpochNanos, long epochNanos, Attributes attributes, long count, double sum, List<ValueAtQuantile> percentileValues) Creates aSummaryPointData
.- Parameters:
startEpochNanos
- (optional) The starting time for the period where this point was sampled.epochNanos
- The ending time for the period when this value was sampled.attributes
- The set of attributes associated with this point.count
- The number of measurements being sumarized.sum
- The sum of measuremnts being sumarized.percentileValues
- Calculations of percentile values from measurements.
-