Skip to content

Add filter flag to mountstats #1379

@SuperQ

Description

@SuperQ

node_exporter version: output of node_exporter --version

0.18.1

node_exporter command line flags

--collector.mountstats

Feature proposal

When mounting the same export multiple times the metrics are duplicated for each virtual mountpoint. There doesn't seem to be an easy method to de-duplicate this by understanding the underlying NFS client connection.

A simple workaround would be to add a manual ignore filter based on the export label. This would allow for exporter-side filtering of metrics. It may also be useful in other situations where only some NFS mountstats metrics are desired.

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