Skip to content

NodeState Getter to monitor node availability#1698

Merged
reta merged 5 commits intoopensearch-project:mainfrom
akku-787:getter-for-deny-node-list
Aug 16, 2025
Merged

NodeState Getter to monitor node availability#1698
reta merged 5 commits intoopensearch-project:mainfrom
akku-787:getter-for-deny-node-list

Conversation

@akku-787
Copy link
Copy Markdown
Contributor

@akku-787 akku-787 commented Jul 25, 2025

Description

Provides a public getter (getNodes()) to access nodes along with their states so users can integrate it with metrics systems and monitor node availability from client perspective.

Issues Resolved

This PR addresses #1699

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Comment thread CHANGELOG.md Outdated
@reta
Copy link
Copy Markdown
Collaborator

reta commented Aug 15, 2025

@akku-787 overall LGTM, please add description to this change (and probably update title), thank you.

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
@akku-787 akku-787 changed the title Getter for deny list NodeState Getter to monitor node availability Aug 16, 2025
@001mertiya
Copy link
Copy Markdown
Contributor

Hi @reta @Xtansia , could you please take a look at this PR?

@reta reta merged commit 79feb7d into opensearch-project:main Aug 16, 2025
37 checks passed
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Aug 16, 2025
* getter for deny list

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>

* getNodes with NodeState

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>

* review fixes

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>

* review fixes

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>

* added method description

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>

---------

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Co-authored-by: a0a0mf4 <akanksha.agrawal@walmart.com>
(cherry picked from commit 79feb7d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@reta
Copy link
Copy Markdown
Collaborator

reta commented Aug 16, 2025

Hi @reta @Xtansia , could you please take a look at this PR?

👍 Thank you @akku-787

reta pushed a commit that referenced this pull request Aug 16, 2025
* getter for deny list



* getNodes with NodeState



* review fixes



* review fixes



* added method description



---------



(cherry picked from commit 79feb7d)

Signed-off-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: a0a0mf4 <akanksha.agrawal@walmart.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants