Purpose and workload fit
Uses a time-decayed historical percentile as a constant future level. Useful for comparing high-water resource sizing, without predicting when a peak occurs.
History and runtime requirements
At least four observations; include complete business cycles to represent typical peaks.
Inputs must be regularly sampled, gap-free, and finite. Outputs retain the metric unit, such as CPU cores, memory bytes, or requests per second. The sample interval determines the duration of a step. Minimum history permits execution; it does not establish forecast quality.
This method does not use covariates; target metrics are forecast separately.
Parameter reference
On narrow screens, swipe the parameter table horizontally to read all columns.
| Parameter / type | Default / range / unit | Meaning and use |
|---|---|---|
percentilefloat | 95 ≥ 1; ≤ 100 | Historical percentile on a 1–100 scale; higher values give more conservative estimates. |
half_life_hoursfloat | 24 ≥ 0; ≤ 4320; hours | Historical sample weight halves after this many hours; zero disables decay. |
safety_marginfloat | 0 ≥ 0; ≤ 5 | Multiply the result by 1+safety_margin; 0.1 adds 10%. |
Configuration example
Edit parameters in Algorithm management. This is a parameter object, not a complete config.yaml. Seasonal examples assume five-minute sampling; adjust for your actual interval. Omitted optional values use the defaults above.
{
"percentile": 95,
"half_life_hours": 24,
"safety_margin": 0.1
}Tuning and tradeoffs
percentile uses a 1–100 scale, such as 95. A shorter half-life emphasizes recent values; zero disables decay. safety_margin multiplies the result by 1+margin; evaluate compounded headroom.
Shared parameters: shifts and quantiles
| Parameter / type | Default / range / unit | Meaning and use |
|---|---|---|
reset_on_changebool | false No additional range | Use history after a detected level shift, preserving enough points for the underlying method. |
change_thresholdfloat | 8 ≥ 3; ≤ 50 | Minimum shift relative to robust noise; used only with reset_on_change. |
change_min_shiftfloat | 0.2 ≥ 0; ≤ 5 | Minimum relative level shift; 0.2 means 20%. Used only with reset_on_change. |
quantile_levelfloat | 0 ≥ 0; ≤ 0.99 | Zero disables conformal calibration; otherwise must be above 0.5 and at most 0.99. Calibrates an upper forecast using earlier forecast errors. |
calibration_windowsint | 8 ≥ 3; ≤ 50 | Historical windows for conformal calibration; more windows add forecast calls and history requirements. |
quantile_level uses a 0–1 scale; percentile uses 1–100. Calibration runs extra historical forecasts. Check history and runtime budgets before increasing windows; coverage is an evaluation target, not a guarantee.
Use in a module
- Save parameters and check history, sample interval, and horizon.
- Enable module prediction. Fixed mode runs the selected method; dynamic mode uses centrally enabled methods.
- Run rolling backtests and earn version promotion before adoption. Re-run backtests after changes affecting model identity.
- Review error, peak underestimation, runtime, and adoption reasons in Observe or Recommend before separately authorizing admission and replica actions.
For insufficient history, invalid settings, timeouts, or invalid output, inspect run reasons. Without eligible forecasts, the module follows its schedules, fallback, and protection rules.