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

Fix bcache stats_total per-device readings #323

Merged
merged 1 commit into from
Jan 11, 2021
Merged

Conversation

vitalif
Copy link
Contributor

@vitalif vitalif commented Aug 29, 2020

Hi, current versions of Prometheus node_exporter report identical statistics for all backing_devices. This is caused by a bug in this package. The commit fixes it.

Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

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

Oof, thanks!
If you have time for it, adding some tests for this would be awesome!

@vitalif
Copy link
Contributor Author

vitalif commented Oct 19, 2020

No idea how to write tests :))) can you just merge it as-is?

@SuperQ
Copy link
Member

SuperQ commented Jan 11, 2021

I'm going to merge this without additional tests.

@SuperQ SuperQ merged commit d3334bf into prometheus:master Jan 11, 2021
remijouannet pushed a commit to remijouannet/procfs that referenced this pull request Oct 20, 2022
Signed-off-by: Vitaliy Filippov <[email protected]>

Co-authored-by: Vitaliy Filippov <[email protected]>
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.

3 participants