Commit b604e31
Expose the search-cluster node name on NodeInfo
The node stats adapter already fetches each node's name from the _nodes
response but dropped it: NodeInfo carried only version, OS, roles, and heap,
keyed by node id. The System Overview health panel's shard-count check needs
to join per-node shard counts (keyed by node name, from _cat/allocation) with
per-node heap (keyed by node id, from _nodes), and the only existing id-to-name
bridge is a per-node round-trip. Populate the node name in the OpenSearch 2/3
and Elasticsearch 7 adapters so a single _nodes read carries it.
Enables Graylog2/graylog-plugin-enterprise#14658.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0271892 commit b604e31
4 files changed
Lines changed: 8 additions & 0 deletions
File tree
- graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7
- graylog-storage-opensearch2/src/main/java/org/graylog/storage/opensearch2
- graylog-storage-opensearch3/src/main/java/org/graylog/storage/opensearch3
- graylog2-server/src/main/java/org/graylog2/system/stats/elasticsearch
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
0 commit comments