-
Notifications
You must be signed in to change notification settings - Fork 485
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
[integrations] Add udev data path arg to node_exporter #4481
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.
Thanks for the contribution! could you also add this new config option to flow component (prometheus.exporter.unix
)?
Done. @marctc Let me know if something else is needed or if I've done something wrong (I'm off for the day, can take a look tomorrow). |
17d1711
to
797a5b0
Compare
@marctc |
Head branch was pushed to by a user without write access
9734061
to
66c8007
Compare
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.
Docs look OK to me
@marctc there's a merge conflict. I haven't tried resolving. Is this something for you to sort out, or? |
@sduranc could you fix merge conflicts and merget this PR? thanks! |
PR Description
Node exporter has added udev data to it's diskstats collector. It's possible to set up this path in node_exporter but right now we can't do the same in the grafana agent, so this PR just makes that available. Also, it appears that when node_exporter can't access the path it fails to create disk metrics. This has already been fixed in prometheus operator and in the helm chart.
Which issue(s) this PR fixes
It seems like it fixes #4207
Fixes #4517
Notes to the Reviewer
As far as I understand, no tests need to updated for this change. Please correct me if I'm wong.
PR Checklist