node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

Add metrics for btrfs commit statistics

Open maartenberg opened this issue 1 year ago • 1 comments

Add four metrics to the btrfs collector to expose statistics on the commits to the filesystem: node_btrfs_commits_total, node_btrfs_last_commit_seconds, node_btrfs_max_commit_seconds, and node_btrfs_commit_seconds_total.

These values were added to the procfs library in https://github.com/prometheus/procfs/pull/580, but not exposed as a metric yet.

Fixes https://github.com/prometheus/node_exporter/issues/2734.

maartenberg avatar May 03 '24 14:05 maartenberg

Ping @SuperQ @discordianfish: could you still take a look at this / is there anything else I should do?

maartenberg avatar Jun 20 '24 09:06 maartenberg