public interface LabeledSnapshot
Snapshot view of a metric's derived and labeled sample values.
Implementations expose summary values computed for the metric at a point in time, such as quantiles, max, mean, and observation count.
-
Method Details
-
value
Value of a specific quantile.- Parameters:
quantile- quantile to get value for- Returns:
- derived value of the quantile
-
max
Sample.Labeled max()Maximal value.- Returns:
- max
-
mean
Sample.Derived mean()Mean value.- Returns:
- mean
-
size
long size()Number of values represented by the snapshot.- Returns:
- number of values
-