Skip to main content

effective_params

Function effective_params 

Source
pub fn effective_params(args: &[String]) -> HashMap<String, String>
Expand description

The run’s effective parameters: the workload’s declared top-level params: (extends-merged) as the base, with CLI key=value args overlaid on top (CLI wins). This is the single consolidated param set — the same one whether a setting is declared in the workload or passed on the command line — used for session-tier services (metrics cadence, push reporters, per-instance metrics) and console-ownership detection alike. The per-execution path reaches the same result by overlaying CLI onto the fully-parsed workload.params (see run_execution).

The workload reference is taken from workload= or a bare .yaml/.yml positional; an unresolvable/absent workload contributes no base params (the real load error, if any, surfaces later in the execution).