You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/09/21 18:02:32 UTC

[GitHub] merlimat opened a new pull request #2628: In ZK 3.4.13 the elapsed time is not anymore based on System.currentTimeMillis()

merlimat opened a new pull request #2628: In ZK 3.4.13 the elapsed time is not anymore based on System.currentTimeMillis()
URL: https://github.com/apache/incubator-pulsar/pull/2628
 
 
   ### Motivation
   
   In ZK dashboard, the latency metrics are showing wrong values (eg: 48 years). 
   
   The problem is that we rely on AspectJ to get access to ZK internals and add instrumentation. The "request start" timestamp in ZK 3.4.13 has been changed from using `System.currentTimeMillis()` to `System.nanoTime() / 100000`. 
   
   We need to change the timestamp we use for end operation as well.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services