Hello Kudu Jenkins, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14128
to look at the new patch set (#7).
Change subject: [metrics] Add a metric to count merged entities when merge
metrics
......................................................................
[metrics] Add a metric to count merged entities when merge metrics
When metric entities merged to a new entity, we don't know how many
entities it merged from.
This patch add a new metric 'merged_<entity>_entities_count' to entity
and set value to 1, then the new merged entity will have the same
metric with value merged.
We can use this information to check whether a table is balanced or
not by thirdparty monitor system efficiently. Though we can use CLI
tool like 'kudu cluster rebalance' to check per-table balance status
of a cluster, but we have to fetch balance info table by table (by add
--tables=xx flag), and also we have to "run command" in thirdparty
monitor system and this tool seems not fast enough because it will
call functions like RetrieveAllTablets.
Change-Id: I652b457a2df73414f95f5d1d5efaa003cc262bd1
---
M src/kudu/master/catalog_manager.cc
M src/kudu/server/server_base.cc
M src/kudu/tablet/tablet.cc
M src/kudu/util/metrics-test.cc
M src/kudu/util/metrics.cc
M src/kudu/util/metrics.h
6 files changed, 39 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/14128/7
--
To view, visit http://gerrit.cloudera.org:8080/14128
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I652b457a2df73414f95f5d1d5efaa003cc262bd1
Gerrit-Change-Number: 14128
Gerrit-PatchSet: 7
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <[email protected]>