mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Exposed again the pipelines queue.data and queue.capacity subdocuments for _node/stats
Avoid to reassing the subdocument for queue metrics preferring a merge With PR #10576 the PluginsStats.report(stats) overwrites the subsection related to queue instead of merge with newly created entries. Fixes #11970
This commit is contained in:
parent
f3f6ca049f
commit
24d60b81c2
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ module LogStash
|
|||
|
||||
# if extended_stats were provided, enrich the return value
|
||||
if extended_stats
|
||||
ret[:queue] = extended_stats["queue"] if extended_stats.include?("queue")
|
||||
ret[:queue].merge!(extended_stats["queue"]) if extended_stats.include?("queue")
|
||||
ret[:hash] = extended_stats["hash"]
|
||||
ret[:ephemeral_id] = extended_stats["ephemeral_id"]
|
||||
if opts[:vertices] && extended_stats.include?("vertices")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue