Improve error handling when collecting processes information #9111
Labels
enhancement
libbeat
Metricbeat
Metricbeat
module
Stalled
Team:Integrations
Label for the Integrations team
technical debt
Process information is collected non-atomically, so it can be possible that processes finish while metricbeat is collecting its metrics, provoking failures as the process is not found.
If something fails when collecting process information, whole events are lost, and errors are logged.
We could ignore the errors in some cases, reducing events loss.
We can also evaluate to use
go-sysinfo
instead ofgosigar
for processes info collection, at least on windows where it should be faster as mentioned in elastic/gosigar#110 (review)The text was updated successfully, but these errors were encountered: