MetricBands

constructor(fair: Double, poor: Double, higherIsWorse: Boolean)(source)

Parameters

fair

Value at which the metric stops being unremarkable.

poor

Value at which it warrants action.

higherIsWorse

True when a larger number is a worse result. Governs which side of the thresholds counts as trouble, so a caller never has to hardcode the direction per metric.