change_point_config

Function change_point_config 

Source
pub fn change_point_config(measurement: &str) -> ChangePointConfig
Expand description

Returns the change point configuration for a measurement, applying fallback rules.

Configuration keys under [change_point] or [change_point."measurement_name"]:

  • enabled: Enable/disable change point detection (default: true)
  • min_data_points: Minimum data points required (default: 10)
  • min_magnitude_pct: Minimum percentage change to consider significant (default: 5.0)
  • penalty: Penalty factor for PELT algorithm (default: 0.5, lower = more sensitive)