Crate prometheus_manager
source · [−]Structs
Enums
Functions
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 filter rule. The matching is “OR”, not “AND”. If no filter has a label specified, it uses RegexSet for all regexes. TODO: optimize using more RegexSet without labels…
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