pdf / zfs_exporter

Prometheus ZFS exporter
MIT License
168 stars 32 forks source link

Include Mountpoint #22

Open norsemangrey opened 2 years ago

norsemangrey commented 2 years ago

Could you include dataset mountpoint as a label or as a separate metric?

pdf commented 2 years ago

Unfortunately this will require a bit of a refactor as for some reason mountpoint is not available via zfs get, but only via zfs list. Definitely doable, but may be a bit before I can allocate the time.

norsemangrey commented 2 years ago

Great :) It would be really nice to have that info included at some point as I could get rid of some other scrapers.