UNPKG

pandora-metrics

Version:
54 lines 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class AbstractSnapshot { /** * Returns the median value in the distribution. * * @return the median value */ getMedian() { return this.getValue(0.5); } /** * Returns the value at the 75th percentile in the distribution. * * @return the value at the 75th percentile */ get75thPercentile() { return this.getValue(0.75); } /** * Returns the value at the 95th percentile in the distribution. * * @return the value at the 95th percentile */ get95thPercentile() { return this.getValue(0.95); } /** * Returns the value at the 98th percentile in the distribution. * * @return the value at the 98th percentile */ get98thPercentile() { return this.getValue(0.98); } /** * Returns the value at the 99th percentile in the distribution. * * @return the value at the 99th percentile */ get99thPercentile() { return this.getValue(0.99); } /** * Returns the value at the 99.9th percentile in the distribution. * * @return the value at the 99.9th percentile */ get999thPercentile() { return this.getValue(0.999); } } exports.AbstractSnapshot = AbstractSnapshot; //# sourceMappingURL=AbstractSnapshot.js.map