Class ValueAtPercentile

java.lang.Object
io.opentelemetry.sdk.metrics.data.ValueAtPercentile

@Immutable public abstract class ValueAtPercentile extends Object
  • Method Details

    • create

      public static ValueAtPercentile create(double percentile, double value)
    • getPercentile

      public abstract double getPercentile()
      The percentile of a distribution. Must be in the interval [0.0, 100.0].
      Returns:
      the percentile.
    • getValue

      public abstract double getValue()
      The value at the given percentile of a distribution.
      Returns:
      the value at the percentile.