Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/13376 )

Change subject: [util] Support for entity type/id/attrs/metrics filtering in 
metrics
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/13376/3/src/kudu/util/metrics.h
File src/kudu/util/metrics.h:

http://gerrit.cloudera.org:8080/#/c/13376/3/src/kudu/util/metrics.h@445
PS3, Line 445: '*'
> I have no idea whether we exposed '*' in a wire protocol, but in the code b
Hmm, what's the point of all this versatility though? Why have multiple ways to 
express the same thing? It just makes for more complicated code/tests. Wildcard 
was ever exposed in the web UI; it was only part of the internal API. And I'm 
not convinced that case 4 was an intentional use case; it seems like it may 
have been completely accidental as it's not specified in the various comments 
at all.

Basically I think we should keep cases 1 and 3 and drop the rest. It should 
yield simpler code and fewer things to test.



--
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: comment
Gerrit-Change-Id: I45ca55bd1f0f3d4107cb208f6f855d24121823ee
Gerrit-Change-Number: 13376
Gerrit-PatchSet: 3
Gerrit-Owner: helifu <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: helifu <[email protected]>
Gerrit-Comment-Date: Thu, 23 May 2019 06:14:32 +0000
Gerrit-HasComments: Yes

Reply via email to