-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick #7986 to 6.x: Better tracking of number of open file desc…
…riptors of Filebeat (#8514) * Better tracking of number of open file descriptors of Filebeat (#7986) New metrics are introduced to better track the number of open file descriptors. In the initial issue number of open file descriptors were requested by input. Reporting the number of open files by harvesters is already implemented. It's reported as filebeat.harvester.open_files. I included process level file descriptor information reporting for each Beat which runs on Linux. New metrics beat.fd.open: Number of open files by a Beat process. It's the number of files under /proc/{{ filebeat-pid }}/fd. Only implemented on Linux. beat.fd.limit.soft: Soft limit of the Beat process. Could be used to notify a user if the process is reaching the limit (in the Monitoring UI). beat.fd.limit.hard: Hard limit of the Beat process. It is the max limit that can be set on a host without modifying kernel params. (cherry picked from commit f10096a)
- Loading branch information
Showing
3 changed files
with
91 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters