[ 
https://issues.apache.org/jira/browse/SLING-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053531#comment-13053531
 ] 

Justin Edelson commented on SLING-1476:
---------------------------------------

It shouldn't be *Statistics if we want to expose operations in addition to just 
stats. Haven't thought through if such a thing makes sense here (it definitely 
does for something like the script resolver where a "flush cache" operation 
would be useful).

I've always found the whole naming convention of MBeans to be weird. Mostly I'd 
like to figure out if there's a way to move the implementation in a private 
package. Didn't work the first time I tried it, but I'll have to reread the JMX 
spec to see what I missed.

> provide number of processed requests
> ------------------------------------
>
>                 Key: SLING-1476
>                 URL: https://issues.apache.org/jira/browse/SLING-1476
>             Project: Sling
>          Issue Type: New Feature
>          Components: Engine
>    Affects Versions: Engine 2.0.6
>            Reporter: Jörg Hoh
>            Priority: Minor
>         Attachments: org.apache.sling.jmx.zip
>
>
> For status monitoring it would be useful to have the number of total 
> processed requests since restart of the JVM. Is it possible to have a 
> "statistics" component which could provide such numbers?
> (The "manual" way to do it would be writing a very simple RequestFilter which 
> just increments a counter and expose this object as OSGI component.)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to