Yingchun Lai has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14128
Change subject: [metrics] Add a metric to count sub-entities when merge metrics ...................................................................... [metrics] Add a metric to count sub-entities when merge metrics When metrics entity merged to a new entity, we don't know how many sub entities it merged from. This patch add a new metric named 'sub_entities_count' to the new merged entity to count sub entities, we can use this information to check whether a table is balance by thirdparty monitor system. Change-Id: I652b457a2df73414f95f5d1d5efaa003cc262bd1 --- M src/kudu/util/metrics-test.cc M src/kudu/util/metrics.cc 2 files changed, 47 insertions(+), 13 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/14128/1 -- 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: newchange Gerrit-Change-Id: I652b457a2df73414f95f5d1d5efaa003cc262bd1 Gerrit-Change-Number: 14128 Gerrit-PatchSet: 1 Gerrit-Owner: Yingchun Lai <405403...@qq.com>