Gabriella Lotz has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24269 )

Change subject: KUDU-3690: Add filtering to /metrics_prometheus
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24269/3/src/kudu/server/default_path_handlers.cc
File src/kudu/server/default_path_handlers.cc:

http://gerrit.cloudera.org:8080/#/c/24269/3/src/kudu/server/default_path_handlers.cc@499
PS3, Line 499:     resp->status_code = HttpStatusCode::BadRequest;
             :     WARN_NOT_OK(Status::InvalidArgument(""), "The parameter of 
'attributes' is wrong");
             :     return false;
Shouldn't we write the error message into resp->output instead of using 
WARN_NOT_OK here? As-is, will the client actually see anything in the response 
body?



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5c0b23ae5c184bf9e33e453736cef5e7ce8ee2e1
Gerrit-Change-Number: 24269
Gerrit-PatchSet: 3
Gerrit-Owner: Marton Greber <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Yan-Daojiang <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>
Gerrit-Reviewer: Zoltan Martonka <[email protected]>
Gerrit-Comment-Date: Wed, 06 May 2026 14:48:40 +0000
Gerrit-HasComments: Yes

Reply via email to