pub(crate) fn validate_topk_parameters(values: &[Option<f64>]) -> Result<()>Expand description
Validates the complete parameter series for Prometheus topk/bottomk/limitk semantics.
The values are read where the node holds them, in one pass. The caller keeps both the series the parameter arrived as and the values it was read into, so a second copy of the present ones would be memory neither of them is charged for.