-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add node id to _cat apis #10246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add node id to _cat apis #10246
Conversation
new CLA? |
type .+ \n | ||
url .+ \n | ||
description .+ \n | ||
$/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!!!
@@ -77,6 +77,7 @@ public RestResponse buildResponse(final NodesInfoResponse nodesInfoResponse) thr | |||
Table getTableWithHeader(final RestRequest request) { | |||
Table table = new Table(); | |||
table.startHeaders(); | |||
table.addCell("id", "alias:i;default:false;desc:unique node id"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we want to drop the i
alias here and be consistent with the other cat apis? id
seems short enough already no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good :)
looks good @lmenezes I left a small comment, if you can address that I will get this in. |
@javanna done. if you want me to rebase and squash it, let me know :) |
Thanks @lmenezes merged! |
@javanna great, thanks :) |
this addresses #10226 and also adds node id to _cat/segments and _cat/plugins.
/cc @drewr @javanna