Adar Dembo has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13376 )

Change subject: [util] Support for entity types/ids/attrs/metrics filtering in 
metrics
......................................................................

[util] Support for entity types/ids/attrs/metrics filtering in metrics

It takes a long time to display the metrics while there are
lots of tablets on the tserver, especially in web browsers.
So, I think it is good to support for entity types/ids/attrs/metrics
filtering in metrics.

Usage:
http://x.x.x.x:8050/metrics?types=type1,type2&ids=id1,id2&attributes=
table_name,table1,table_name,table2&metrics=on_disk_size,rows_inserted,
rows_upserted

Change-Id: I45ca55bd1f0f3d4107cb208f6f855d24121823ee
Reviewed-on: http://gerrit.cloudera.org:8080/13376
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Adar Dembo <[email protected]>
---
M src/kudu/server/default_path_handlers.cc
M src/kudu/server/diagnostics_log.cc
M src/kudu/tablet/tablet-test.cc
M src/kudu/util/metrics-test.cc
M src/kudu/util/metrics.cc
M src/kudu/util/metrics.h
6 files changed, 269 insertions(+), 85 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/13376
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I45ca55bd1f0f3d4107cb208f6f855d24121823ee
Gerrit-Change-Number: 13376
Gerrit-PatchSet: 9
Gerrit-Owner: helifu <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: helifu <[email protected]>

Reply via email to