Skip to content

Comments

bcachefs support#750

Merged
SuperQ merged 1 commit intoprometheus:masterfrom
ananthb:bcachefs
Feb 24, 2026
Merged

bcachefs support#750
SuperQ merged 1 commit intoprometheus:masterfrom
ananthb:bcachefs

Conversation

@ananthb
Copy link
Contributor

@ananthb ananthb commented Sep 27, 2025

Add support for parsing bcachefs filesystems from procfs.

@SuperQ
Copy link
Member

SuperQ commented Feb 13, 2026

This needs a DCO sign-off. You can use git commit -s --amend to add it.

@ananthb ananthb force-pushed the bcachefs branch 2 times, most recently from 718e40a to af22448 Compare February 13, 2026 20:06
@ananthb ananthb marked this pull request as ready for review February 13, 2026 20:07
@ananthb ananthb changed the title init bcachefs support bcachefs support Feb 13, 2026
@ananthb ananthb force-pushed the bcachefs branch 2 times, most recently from 594f69a to 27b2119 Compare February 24, 2026 10:05
@ananthb ananthb requested a review from SuperQ February 24, 2026 10:06
@SuperQ
Copy link
Member

SuperQ commented Feb 24, 2026

This looks mostly fine. We tend to avoid buffio scanners and prefer util.ReadFileNoStat as the scanner + stat overhead is a bit much for all the tiny files we read.

Signed-off-by: Ananth Bhaskararaman <antsub@gmail.com>
@SuperQ
Copy link
Member

SuperQ commented Feb 24, 2026

If you have any weight with upstream bcachefs, maybe worth getting them to make some slightly more machine friendly proc files. Having to parse K/M/G/etc is a lot of extra work.

@SuperQ SuperQ merged commit 51a5dd2 into prometheus:master Feb 24, 2026
7 checks passed
@ananthb
Copy link
Contributor Author

ananthb commented Feb 24, 2026

I don't hold sway there but I expected raw values too. It is weird.

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