Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for querying mBeans by predictable (configurable) names. #3

Merged
merged 1 commit into from
Oct 25, 2012
Merged

Allow for querying mBeans by predictable (configurable) names. #3

merged 1 commit into from
Oct 25, 2012

Conversation

bvarner
Copy link

@bvarner bvarner commented Oct 15, 2012

Change how mBeans names are generated to include the data source name in the attributes (if it has a name).

This allows you to query mbeans by stable name patterns, allowing for reliable instrumentation via JMX between VM instances.

I currently use these patches in production (nearly 18 months) to grab pool telemetry with collectd's JMX probe. Adding the name attribute to the ObjectName allows me to consistently identify the same mbeans across VM restarts thus providing consistent historical data for telemetry graphs.

… in the attributes (if it has a name)

This allows you to query mbeans by stable name patterns, allowing for reliable instrumentation via JMX between VM instances.

I currently use these patches in production (nearly 18 months) to grab pool telemetry with collectd's JMX probe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants