Class ValueAtPercentile
java.lang.Object
io.opentelemetry.sdk.metrics.data.ValueAtPercentile
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValueAtPercentilecreate(double percentile, double value) abstract doubleThe percentile of a distribution.abstract doublegetValue()The value at the given percentile of a distribution.
-
Method Details
-
create
-
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.
-