node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

ZFS DDT metrics

Open jpds opened this issue 3 months ago • 5 comments

The exporter should grab the ZFS DDT metrics from: /proc/spl/kstat/zfs/$poolname/ddt_stats_*

jpds avatar Oct 02 '25 15:10 jpds

Please provide a bit more details What are these? Why do you need them etc. Just so we have a bit more context to decide if we want them without having to do that research ourselves. Thanks!

discordianfish avatar Nov 12 '25 09:11 discordianfish

It's the stats for the ZFS deduplication table. Now that we have https://klarasystems.com/articles/introducing-openzfs-fast-dedup/ we have a filesystem that can efficiently dedup the same data across filesystem blocks. Very useful for things like Docker or virtual machines hosts.

jpds avatar Nov 12 '25 15:11 jpds

Cool ok, I see this being useful. As usual, the parsing needs to go into prometheus/procfs and then can be used here.

discordianfish avatar Nov 12 '25 16:11 discordianfish

@jpds is this being worked on?

michael-duren avatar Nov 22 '25 20:11 michael-duren

I'd like to take a stab at it, if no one else is working on it.

michael-duren avatar Nov 22 '25 20:11 michael-duren