Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15212


Change subject: [hybrid clock] KUDU-3048 introduce new clock metrics
......................................................................

[hybrid clock] KUDU-3048 introduce new clock metrics

Introduced additional metrics for the hybrid clock:
  * number of intervals when the underlying clock was extrapolated
    instead of using the actual readings
  * the longest interval when when the underlying clock was extrapolated
    instead of using the actual readings
  * the maximum of the max_error ever sampled while reading the
    underlying clock

I ran a small Kudu cluster to manually verify the behavior of the
newly introduced metrics: I'm not sure it's worth adding automated
tests for this given the already existing 'hybrid_clock_error' metric
didn't have any test coverage.

Change-Id: I8575ba7d8baed78b13351e8cebf1a74f44b31b82
---
M src/kudu/clock/hybrid_clock.cc
M src/kudu/clock/hybrid_clock.h
M src/kudu/server/server_base.cc
3 files changed, 69 insertions(+), 17 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/15212/1
--
To view, visit http://gerrit.cloudera.org:8080/15212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8575ba7d8baed78b13351e8cebf1a74f44b31b82
Gerrit-Change-Number: 15212
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>

Reply via email to