compute_thresholds#
- rojak.orchestrator.lite_controller.compute_thresholds(context, /, diagnostics_from)[source]#
Compute and export percentile-based severity thresholds for every diagnostic configured in
contextImplements
rojak lite turbulence turbulence-thresholds(rojak.cli.lite_interface.turbulence_thresholds()). Writes a JSON file (seeexport_json()) undercontext.output_dir / context.name, loadable viaload_thresholds_from_file().- Parameters:
context (DiagnosticThresholdsContext) – Configuration listing the diagnostics to compute, the percentile thresholds to use, and where to write the result
diagnostics_from (DiagnosticsFormat) – Where to obtain each diagnostic’s value from
- Return type:
None