Skip to content

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

@madeye-matt

Description

@madeye-matt

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!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions