L.S.,

Looking at the code in
http://svn.apache.org/viewvc/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/counters/MessageHandlingTimeRecorder.java?revision=894197&view=markup,
the unit of measure appears to be microseconds  (nanoTime() / 1000)
instead of milliseconds.


Regards,

Gert Vanthienen


On Tue, Aug 6, 2013 at 5:50 PM, kunalsuri <[email protected]> wrote:
> Hello,
>
> I am using Performance.Counter.Server MBean [1] to get the value of various
> metrics of a webservice.
>
> [1] http://cxf.apache.org/docs/jmx-management.html
>
> My code is working properly but I am not sure of the unit of the metrics. As
> per my understanding the uint is in Milliseconds but I am not sure if that
> is possible cos the values that I receive in milliseconds are too high to be
> true.
>
> Further more, these webservices are called from a Synchronous client (A BPMS
> activiy in my case) and the time of the activity should always be higher
> than the time of the webservice that is being called.
>
> For eg. (using Jolokia)
>
> The Activity time duration is 45 millisecond and the value from the
> Webservice is
>
> "MaxResponseTime":14524,"NumLogicalRuntimeFaults":0,"NumCheckedApplicationFaults":0,"NumInvocations":1,"NumUnCheckedApplicationFaults":0,"MinResponseTime":14524,"TotalHandlingTime":14524,"AvgResponseTime":14524,"NumRuntimeFaults":0
>
> Now if I conider this value as 14524 milliseconds, it doesn't makes sense ?
>
> Any suggestions?
>
> Thanks,
> Kunal
>
>
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Unit-for-the-Performance-Metrics-of-CXF-webservice-deployed-on-ServiceMix-tp5717515.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to