Function effective_sample_rate

Source
pub(crate) fn effective_sample_rate(
    session: &Session,
    system_vars: &SystemVars,
) -> f64
Expand description

The effective rate at which statement execution should be sampled. This is the value of the session var statement_logging_sample_rate, constrained by the system var statement_logging_max_sample_rate.