Skip to content

Feat: expose per-dataset metrics in the ZFS collector on FreeBSD #2693

@asomers

Description

@asomers

Host operating system: output of uname -a

FreeBSD, all versions

node_exporter version: output of node_exporter --version

1.5.0

Feature

PR #1632 exposed ZFS's per-dataset performance metrics, but only on Linux. The same metrics are available on FreeBSD. However, whereas on Linux they are presented as files in /proc , on FreeBSD they are presented as sysctls. The ZFS collector already publishes non-dataset-specific metrics on FreeBSD, so I would think that it shouldn't be too hard to add the dataset-specific ones too. See https://github.com/asomers/ztop/blob/master/src/app.rs for an example (in Rust) of a project that parses both Linux's and FreeBSD's ZFS per-dataset metrics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions