Customer request: "The EAP 4 and EAP 5 plug-ins both exposed statistics reported by a deployed web application context (WAR). However, the EAP 7 plug-in does not expose these statistics. Specifically: Clustered - True if this web application context is clustered Virtual Host - the virtual host with which this context is associated Response Time - the minimum, maximum, and average response times for requests serviced by this webapp Currently Active Sessions - the number of sessions that are currently active for this WAR Maximum Active Sessions - the maximum number of sessions that have been active for this WAR Created Sessions - the number of sessions created for this WAR Created Sessions per Minute - the number of sessions created for this WAR Expired Sessions - the number of expired sessions for this WAR Expired Sessions per Minute - the number of expired sessions for this WAR Rejected Sessions - the number of sessions rejected for this WAR Rejected Sessions per Minute - the number of sessions rejected for this WAR Average Session Alive Time - the average alive time of sessions for this WAR Max Session Alive Time - the maximum alive time of sessions for this WAR The majority of these metrics are provided by the AS7 managed deployment's web subsystem. For example: /host=master/server=server-one/deployment=jboss-as-helloworld.war/subsystem=web The customer needs the ability to monitor their deployed applications to see load/usage statistics and to identify peak load averages against application content."
Comparing the list of metrics from the description in this issue with those listed here: https://issues.jboss.org/browse/AS7-4444?focusedCommentId=12719259&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12719259 there were a couple of metrics not in AS7-4444 (besides the per minute metrics which are derived) Clustered - True if this web application context is clustered This doesn't appear to be exposed by AS7 so it won't be possible to collect via the RHQ plugin Response Time - the minimum, maximum, and average response times for requests serviced by this webapp This is already implemented in the original as7 plugin that shipped in JON310. However there will be fixes to improve that support in JON312 (https://bugzilla.redhat.com/show_bug.cgi?id=864621).
I also see that there are metrics on AS7-4444 that are not mentioned in PRODMGT-245, e.g. active-sessions. Unless there is a good reason not to we should be exposing all the metrics which AS7 has here . Note "exposing" does not imply enabling by default in RHQ, as with all resource types we should be enabling a minimal set of metrics out of the box.
Pushed to master - f875212 commit f875212be4a8cfaf0905e2fd376a579197b83148 Author: Thomas Segismont <tsegismo> Date: Tue May 7 14:25:34 2013 +0200 Bug 865629 - (PRODMGT-245) Add more metrics to AS7 plugin Added missing metrics Added integration test
Additional notes: * Clustered attributed is not exposed * Also included "duplicated-session-ids" metric although it was not in the customer list
larry: enable traits by default? thomas: something he can add. <<<<----action item for thomas. Thomas can you do this so we can wrap this up for RHQ4.8 Thanks
Sorry I forgot to write this down after the feature presentation meeting. commit c860e6ebb29c99a399471e610e6c2772ffb66d64 Author: Thomas Segismont <tsegismo> Date: Mon Jun 3 09:50:35 2013 +0200 Bug 865634 - Add more metrics to AS7 plugin New commit: enable traits by default
This should be in a brew build for quite some time now