mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
This PR add new information in the /_node/stats api and will return the load average of the machine in the following formats depending of the platforms that logstash is running on: **Linux** ```json { "cpu" : { "percent" : 26, "load_average" : { "1m" : 2.826171875, "5m": 1.8261718, "15m": 1.56566 } } } ``` **MacOS and other platform that the OperatingMXBean understand** ```json { "cpu" : { "percent" : 26, "load_average" : { "1m" : 2.826171875, } } } ``` Load average is not available on Windows Fixes: #6214 Fixes #6240 |
||
---|---|---|
.. | ||
lib | ||
spec_helper.rb |