Skip to content

Add per-node search-cluster stats to the indexer adapter#26625

Open
patrickmann wants to merge 3 commits into
poc/system-overview-health-panelfrom
search-cluster-health-reporters
Open

Add per-node search-cluster stats to the indexer adapter#26625
patrickmann wants to merge 3 commits into
poc/system-overview-health-panelfrom
search-cluster-health-reporters

Conversation

@patrickmann

@patrickmann patrickmann commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

/nocl

Adds more node stats to support the search cluster health reporter. Implemented across the OpenSearch 2, OpenSearch 3, and Elasticsearch 7 adapters.

How Has This Been Tested?

Unit tests in each adapter (ClusterAdapterOS2Test, ClusterAdapterOSTest, ClusterAdapterES7Test) parse recorded _nodes/stats/os,jvm JSON and assert per-node CPU and heap percent, plus a -1 sentinel for absent fields.

patrickmann and others added 2 commits July 8, 2026 13:44
Adds ClusterAdapter.nodesStats() which reads _nodes/stats/os,jvm in a single
round-trip and exposes per-node os.cpu.percent and jvm.mem.heap_used_percent
through a new NodeStats value object. Implemented across the OpenSearch 2/3
and Elasticsearch 7 adapters, with a Cluster.getNodesStats() facade.

Supports the Enterprise System Overview search-cluster health reporters
(Graylog2/graylog-plugin-enterprise#14661).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@patrickmann patrickmann marked this pull request as ready for review July 8, 2026 14:31
@patrickmann patrickmann requested a review from Copilot July 8, 2026 14:31
@patrickmann patrickmann requested a review from a team July 8, 2026 14:34

This comment was marked as low quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants