-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: /proc/mdstat collection #9101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤝 ✅ CLA has been signed. Thank you!
Not really sure how to fix this lint complaint:
There are other input plugins that also violate this limit (e.g. |
Sorry about all the commits, but |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like new artifacts were built from this PR. Get them here!
Artifact URLs
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I have some comments below
Thanks for the new plugin! As a user of Linux mdraid arrays, I'm keen to monitor them! I ran it on a system here with four disks, one which is failed, and I don't see it detecting the failed disk? Perhaps the disk just dropped but hasn't failed? Here's the
Here's the output:
|
…nd failed disk cases
…nd failed disk cases
This should be resolved with the most recent commits. A disk marked as |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
The same collector was approved and merged into Prometheus' node_exporter: prometheus/procfs#380 |
@ssoroka I believe I've addressed all your concerns. Any chance you could take another look at this? |
Required for all PRs:
This adds a new input that collects stats on Linux MD arrays on a system. It is based off https://github.com/prometheus/procfs/blob/master/mdstat.go. (which is apache licensed vs. telegraf's MIT.