Skip to content
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

providers/linux: fixes for new prometheus/procfs #49

Merged
merged 1 commit into from
May 6, 2019

Conversation

axw
Copy link
Member

@axw axw commented May 6, 2019

Update the Linux provider to use procfs.NewFS, and stop using the procfs.FS.Path method which was removed in prometheus/procfs#149.

The changed code works with both the old and new procfs APIs.

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andrewkroh andrewkroh merged commit de471ba into elastic:master May 6, 2019
@axw axw deleted the procfs-api-break branch May 6, 2019 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants