You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/04/07 20:58:34 UTC

[jira] Commented: (SLING-1476) provide number of processed requests

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

Felix Meschberger commented on SLING-1476:
------------------------------------------

Possible attributes:

  * Time of last counter reset
  * Number of requests
  * Number of includes (RequestDispatcher.include/forward)
  * Number of successful requests (200, 201, 2xx)
  * Number of unmodified responses (304)
  * Number of erroneous requests (4xx, 5xx)
  * Total request processing time
  * Average time (ms) per request
  * Average includes per request

Possible operations:

  * Reset counters

> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.