Package io.prometheus.client
Class CKMSQuantiles.Sample
- java.lang.Object
-
- io.prometheus.client.CKMSQuantiles.Sample
-
- Enclosing class:
- CKMSQuantiles
static class CKMSQuantiles.Sample extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
delta
Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.(package private) int
g
Difference between the lowest possible rank of this sample and its predecessor.(package private) double
value
Observed value.
-
Constructor Summary
Constructors Constructor Description Sample(double value, int delta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
value
final double value
Observed value.
-
g
int g
Difference 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 delta
Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
-
-