Skip to content

Commit

Permalink
Merge pull request #23 from uber/fix_excess_latency_normalization
Browse files Browse the repository at this point in the history
Fix excess latency difference math
  • Loading branch information
jcorbin committed Jun 27, 2016
2 parents 3c68cc6 + f35d6ec commit 72f51f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mutornadomon/monitor.py
Expand Up @@ -127,7 +127,7 @@ def _cb(self):
now = time.time()
self.count('callbacks')
latency = now - self._last_cb_time
excess_latency = latency - (CALLBACK_FREQUENCY / 1000.0)
excess_latency = latency - (self.measure_interval / 1000.0)
self._last_cb_time = now
self.kv('ioloop_excess_callback_latency', excess_latency)
if hasattr(self.io_loop, '_handlers'):
Expand Down

0 comments on commit 72f51f8

Please sign in to comment.