[ 
https://issues.apache.org/jira/browse/CXF-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cyrille Le Clerc updated CXF-2042:
----------------------------------

    Attachment: TotalHandlingTimeAsResponseTimeCounterMBeanAttribute.patch

Proposed patch to implement this enhancement :
1) ResponseTimeCounter.java : create a getter on private field 
totalHandlingTime : getTotalHandlingTime()
2) ResponseTimeCounterMBean.java : create the same getter  
getTotalHandlingTime() on the MBean interface to expose this attribute via JMX

> Expose totalHandlingTime attribute in ResponseTimeCounterMBean to offer 
> trendsup monitoring
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-2042
>                 URL: https://issues.apache.org/jira/browse/CXF-2042
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.1.4
>            Reporter: Cyrille Le Clerc
>         Attachments: 
> TotalHandlingTimeAsResponseTimeCounterMBeanAttribute.patch
>
>
> Expose the currently internal attribute ResponseTimeCounter#totalHandlingTime 
> in the ResponseTimeCounterMBean to offer trendsup monitoring.
> Thanks to this, monitoring tools like Hyperic HQ will be able to offer 
> metrics per time unit like "average response time for last minute/hour" ( via 
> a division of totalHandlingTime by InvocationsCount)
> Resources on Hyperic HQ's trendsup metrics monitoring : 
> http://support.hyperic.com/display/DOC/Metric+Parameters

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to