Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add support for patterns in MBean object names #809
If the object name is a pattern, perform a query for matching object
The object name of an MBean consists of a domain part and a list of
If the object name is a pattern, perform a query for matching object names and return the value of the given attribute if the pattern yields a unique match. If the match is ambiguous, return null to avoid returning the value from a wrong match. The object name of an MBean consists of a domain part and a list of key/value pairs that together form a unique identifier. The values, however, often depend on current configuration parameters (i.e. the hostname). By using an object name pattern it is possible to avoid the need of considering configuration parameters when passing the object name to the JmxAttributeGauge.