📊 ValueAtQuantile represents the value at a given quantile of a distribution.

Used in summary metrics to represent percentiles and other quantiles. Essential for understanding performance characteristics and SLAs.

const quantiles: ValueAtQuantile[] = [
{ quantile: 0.5, value: 1.2 }, // median response time: 1.2s
{ quantile: 0.95, value: 2.8 }, // 95% of requests under 2.8s
{ quantile: 0.99, value: 4.1 } // 99% of requests under 4.1s
];
interface ValueAtQuantile {
    quantile: number;
    value: number;
}

Properties

Properties

quantile: number

The quantile (must be between 0.0 and 1.0)

value: number

The value at this quantile