pub fn apply_rules(data: &[Metric], rules: Rules) -> Result<Vec<&Metric>>Expand description
Returns all metrics that evaluate to “true” based on the rules.
If no filter has a label specified, it uses RegexSet for all regexes.
TODO: optimize using more RegexSet without labels…
TODO: Support delta-based divides.