Interface LabeledSnapshot


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 Summary

    Modifier and Type
    Method
    Description
    max()
    Maximal value.
    Mean value.
    long
    Number of values represented by the snapshot.
    value(double quantile)
    Value of a specific quantile.
  • Method Details

    • value

      Sample.Derived value(double quantile)
      Value of a specific quantile.
      Parameters:
      quantile - quantile to get value for
      Returns:
      derived value of the quantile
    • max

      Maximal value.
      Returns:
      max
    • mean

      Mean value.
      Returns:
      mean
    • size

      long size()
      Number of values represented by the snapshot.
      Returns:
      number of values