Class AutoValue_ImmutableExponentialHistogramPointData
java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableExponentialHistogramPointData
io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableExponentialHistogramPointData
- All Implemented Interfaces:
ExponentialHistogramPointData
,PointData
final class AutoValue_ImmutableExponentialHistogramPointData
extends ImmutableExponentialHistogramPointData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributes
private final long
private final long
private final List
<DoubleExemplarData> private final double
private final double
private final ExponentialHistogramBuckets
private final ExponentialHistogramBuckets
private final int
private final long
private final double
private final long
private final boolean
private final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableExponentialHistogramPointData
(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, int getScale, double getSum, long getCount, long getZeroCount, boolean hasMin, double getMin, boolean hasMax, double getMax, ExponentialHistogramBuckets getPositiveBuckets, ExponentialHistogramBuckets getNegativeBuckets, List<DoubleExemplarData> getExemplars) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the attributes of the aggregation.long
getCount()
Returns the number of measurements taken for this data point, including the positive bucket counts, negative bucket counts, and the zero count.long
Returns the end time of the aggregation in epoch nanos.List of exemplars collected from measurements that were used to form the data point.double
getMax()
The max of all measurements recorded, ifExponentialHistogramPointData.hasMax()
istrue
.double
getMin()
The min of all measurements recorded, ifExponentialHistogramPointData.hasMin()
istrue
.Return theExponentialHistogramBuckets
representing the negative measurements taken for this histogram.Return theExponentialHistogramBuckets
representing the positive measurements taken for this histogram.int
getScale()
Scale characterises the resolution of the histogram, with larger values of scale offering greater precision.long
Returns the start time of the aggregation in epoch nanos.double
getSum()
Returns the sum of all measurements in the data point.long
Returns the number of measurements equal to zero in this data point.int
hashCode()
boolean
hasMax()
Returntrue
ifExponentialHistogramPointData.getMax()
is set.boolean
hasMin()
Returntrue
ifExponentialHistogramPointData.getMin()
is set.toString()
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableExponentialHistogramPointData
create
-
Field Details
-
getStartEpochNanos
private final long getStartEpochNanos -
getEpochNanos
private final long getEpochNanos -
getAttributes
-
getScale
private final int getScale -
getSum
private final double getSum -
getCount
private final long getCount -
getZeroCount
private final long getZeroCount -
hasMin
private final boolean hasMin -
getMin
private final double getMin -
hasMax
private final boolean hasMax -
getMax
private final double getMax -
getPositiveBuckets
-
getNegativeBuckets
-
getExemplars
-
-
Constructor Details
-
AutoValue_ImmutableExponentialHistogramPointData
AutoValue_ImmutableExponentialHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, int getScale, double getSum, long getCount, long getZeroCount, boolean hasMin, double getMin, boolean hasMax, double getMax, ExponentialHistogramBuckets getPositiveBuckets, ExponentialHistogramBuckets getNegativeBuckets, List<DoubleExemplarData> getExemplars)
-
-
Method Details
-
getStartEpochNanos
public long getStartEpochNanos()Description copied from interface:PointData
Returns the start time of the aggregation in epoch nanos. -
getEpochNanos
public long getEpochNanos()Description copied from interface:PointData
Returns the end time of the aggregation in epoch nanos. -
getAttributes
Description copied from interface:PointData
Returns the attributes of the aggregation. -
getScale
public int getScale()Description copied from interface:ExponentialHistogramPointData
Scale characterises the resolution of the histogram, with larger values of scale offering greater precision. Bucket boundaries of the histogram are located at integer powers of the base, wherebase = Math.pow(2, Math.pow(2, -scale))
.- Returns:
- the scale.
-
getSum
public double getSum()Description copied from interface:ExponentialHistogramPointData
Returns the sum of all measurements in the data point. The sum should be disregarded if there are both positive and negative measurements.- Returns:
- the sum of all measurements in this data point.
-
getCount
public long getCount()Description copied from interface:ExponentialHistogramPointData
Returns the number of measurements taken for this data point, including the positive bucket counts, negative bucket counts, and the zero count.- Returns:
- the number of measurements in this data point.
-
getZeroCount
public long getZeroCount()Description copied from interface:ExponentialHistogramPointData
Returns the number of measurements equal to zero in this data point.- Returns:
- the number of values equal to zero.
-
hasMin
public boolean hasMin()Description copied from interface:ExponentialHistogramPointData
Returntrue
ifExponentialHistogramPointData.getMin()
is set. -
getMin
public double getMin()Description copied from interface:ExponentialHistogramPointData
The min of all measurements recorded, ifExponentialHistogramPointData.hasMin()
istrue
. IfExponentialHistogramPointData.hasMin()
isfalse
, the response should be ignored. -
hasMax
public boolean hasMax()Description copied from interface:ExponentialHistogramPointData
Returntrue
ifExponentialHistogramPointData.getMax()
is set. -
getMax
public double getMax()Description copied from interface:ExponentialHistogramPointData
The max of all measurements recorded, ifExponentialHistogramPointData.hasMax()
istrue
. IfExponentialHistogramPointData.hasMax()
isfalse
, the response should be ignored. -
getPositiveBuckets
Description copied from interface:ExponentialHistogramPointData
Return theExponentialHistogramBuckets
representing the positive measurements taken for this histogram.- Returns:
- the positive buckets.
-
getNegativeBuckets
Description copied from interface:ExponentialHistogramPointData
Return theExponentialHistogramBuckets
representing the negative measurements taken for this histogram.- Returns:
- the negative buckets.
-
getExemplars
Description copied from interface:ExponentialHistogramPointData
List of exemplars collected from measurements that were used to form the data point. -
toString
-
equals
-
hashCode
public int hashCode()
-