Package io.prometheus.client
Class CKMSQuantiles.Sample
java.lang.Object
io.prometheus.client.CKMSQuantiles.Sample
- Enclosing class:
CKMSQuantiles
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.(package private) int
Difference between the lowest possible rank of this sample and its predecessor.(package private) final double
Observed value. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
final double valueObserved value. -
g
int gDifference between the lowest possible rank of this sample and its predecessor. This always starts with 1, but will be updated when compress() merges Samples. -
delta
final int deltaDifference between the greatest possible rank of this sample and the lowest possible rank of this sample.
-
-
Constructor Details
-
Sample
Sample(double value, int delta)
-
-
Method Details