Skip to content
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

Adding shard count to node stats api #75352

Closed
wants to merge 1 commit into from

Conversation

masseyke
Copy link
Member

Added a shards section to each node returned by the _node/stats api. Currently it only contains a count of shards

Added a shards section to each node returned by the node stats api. Currently it only contains a count of shards
@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
6011e89

Please, read and sign the above mentioned agreement if you want to contribute to this project

@@ -246,6 +256,7 @@ public CommonStats(StreamInput in) throws IOException {
recoveryStats = in.readOptionalWriteable(RecoveryStats::new);
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to change after back port

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe not since bulk stats is only 8.0? Probably a question for someone on the features team.

@Tim-Brooks
Copy link
Contributor

Also this needs documentation.

@masseyke masseyke closed this Jul 15, 2021
@masseyke masseyke deleted the feature/shard-count-in-node-stats branch July 15, 2021 21:51
@masseyke
Copy link
Member Author

Closed this PR in favor of #75395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants