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.
Returns all metrics that evaluate to “true” for the function.
Returns the first metric that evaluates to “true” for the function.
Returns all metrics that evaluate to “true” for the regex on the metrics name, not the label.
If called in a loop, use “lazy_static” to ensure that regular expressions
are compiled exactly once.
ref. https://github.com/rust-lang/regex#usage-avoid-compiling-the-same-regex-in-a-loop
Returns all metrics that evaluate to “true” for the regex set on the metrics name, not the label.
If called in a loop, use “lazy_static” to ensure that regular expressions
are compiled exactly once.
ref. https://github.com/rust-lang/regex#usage-avoid-compiling-the-same-regex-in-a-loop