Package io.prometheus.jmx
Class MatchedRule
java.lang.Object
io.prometheus.jmx.MatchedRule
MatchedRule is the result of matching a JMX bean against the rules present in the configuration
file. As rules are matched using regular expressions, caching helps prevent having to match the
same beans to the same list of regular expressions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic MatchedRuleAn unmatched MatchedRule, used when no rule matching a JMX bean has been found in the configuration.
-
Constructor Details
-
MatchedRule
-
-
Method Details
-
unmatched
An unmatched MatchedRule, used when no rule matching a JMX bean has been found in the configuration. Cached unmatched rules are still a cache hit, that will not produce any metric/value.- Returns:
- the invalid rule
-
isUnmatched
-
isMatched
-