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

Use perflib for memory collector #402

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Use perflib for memory collector #402

merged 1 commit into from
Oct 9, 2019

Conversation

breed808
Copy link
Contributor

Self-explanatory. Perflib exposes metrics under the same name, so this was very simple to implement and test.

Copy link
Collaborator

@carlpett carlpett left a comment

Choose a reason for hiding this comment

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

Just a minor naming change, otherwise LGTM!

collector/memory.go Outdated Show resolved Hide resolved
@carlpett carlpett merged commit 012b938 into prometheus-community:master Oct 9, 2019
@carlpett
Copy link
Collaborator

carlpett commented Oct 9, 2019

Thank you so much for these refactorings!

anubhavg-icpl pushed a commit to anubhavg-icpl/windows_exporter that referenced this pull request Sep 22, 2024
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