-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IO stats and ext4 FS stats through new ext4 collector #3047
base: master
Are you sure you want to change the base?
Conversation
Sample generated metrics file |
This would be wonderful to have as a feature |
Hi @mshahzeb, thanks for looking into this! This is a great start, we now know which files to read.
|
Thank you I will be moving the code to procfs and open a PR there. |
PR in the works on procfs: prometheus/procfs#651 |
Procfs PR merged: prometheus/procfs#651 |
Waiting for new procfs release |
You can also use the unreleased version for now |
Fixes: #3005
Adds:
From
/sys/fs/ext4/<partition>/errors_count
: number of ext4 errors (commit)/sys/fs/ext4/<partition>/warning_count
: number of ext4 warning log messages (commit)/sys/fs/ext4/<partition>/msg_count
: number of other ext4 log messagesand
From
/sys/block/<disk>/device/ioerr_cnt
: number of SCSI commands that completed with an error/sys/block/<disk>/device/iodone_cnt
: number of completed or rejected SCSI commandsImplements new
ext4
collector.Corresponding procfs changes: prometheus/procfs#651