AWESOME! Thanks Elias!
Am 16.10.2014 um 21:27 schrieb Elias Ross <genman(a)noderunner.net>:
I just released this project:
https://github.com/genman/rhq-server-plugins
These are plugins that might make sense as part of RHQ or not. But
they are useful for me at least, and maybe some other users.
Somewhat related to RHQ is this project that I also released:
https://github.com/genman/jmx-annotations
If you dig into this directory
https://github.com/genman/jmx-annotations/tree/master/annotations/src/mai...
you will see that there are RHQ specific annotations that you can put
on your CDI beans, and when exposed through JMX, there is meta-data
present in MBeanInfo which can be used to automatically create an RHQ
agent plugin descriptor. (The plugin generator I plan to release as
well...) For example:
@ManagedAttribute
@Units("bytes")
@Description("Total bytes sent in response")
@MeasurementType("trendsup")
@DefaultInterval(1000 * 60 * 5)
public long getBytesSent() {
return bytesSent;
}
I'm trying to release the Agent plugins as well, but there is a lot of
code and the approvers are a bit alarmed.
_______________________________________________
rhq-devel mailing list
rhq-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham, Paul Hickey, Charlie Peters