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

QUESTION: How to expose Aggregation details through MBean? #270

Closed
madeye-matt opened this issue Mar 13, 2017 · 2 comments
Closed

QUESTION: How to expose Aggregation details through MBean? #270

madeye-matt opened this issue Mar 13, 2017 · 2 comments

Comments

@madeye-matt
Copy link

As access to the console where btrace runs is restricted in my situation, all btrace information needs to be exposed through MBeans. Some of this information is held in BTraceUtils.Aggregation objects. I can see no way to expose the contents of an Aggregation through an MBean as there are no BTraceUtils methods to support this - only to print the details to the console. Am I missing something here?

I do realise that it would be easy enough to just add a numeric MBean to hold the average value and calculate it myself but it does seem that this is duplicating the functionality of the Aggregation class.

Thanks for any help you can offer!

@jbachorik
Copy link
Collaborator

It should be possible to expose an Aggregation using @Property annotation.

However, an appropriate OpenType mapping is missing and makes any exposed Aggregation instance be marked as Unavailable.

@jbachorik jbachorik self-assigned this Apr 16, 2017
@jbachorik jbachorik added this to the 1.3.9.1 milestone Apr 16, 2017
@jbachorik jbachorik removed this from the 1.3.10 milestone Nov 21, 2017
@jbachorik jbachorik added enhancement and removed bug labels Nov 21, 2017
@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants