[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4134) Add a monitoring annotation

Heiko W. Rupp (JIRA) jira-events at lists.jboss.org
Mon Apr 20 10:36:23 EDT 2009


Add a monitoring annotation
---------------------------

                 Key: JBSEAM-4134
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4134
             Project: Seam
          Issue Type: Feature Request
          Components: Core
            Reporter: Heiko W. Rupp


It would be nice to be able to monitor Seam executions.

I think having an annotation on a method

@Monitor(name="foo")

could be good. When the method is called, as monitoring interceptor would
- increase a counter for that method
- add some call timing for that method to a timing variable

The values would be stored in a Map(name, values) -- with the name being either
the name of the method (perhaps in the form Class.method or the one passed as
argument.

This map would be exposed via JMX (together with "clean (name) " and "cleanAll"
operations.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list