[pkg-go] Bug#908811: prometheus-node-exporter: Adding /mnt and /media as ignored mount points

Martín Ferrari tincho at tincho.org
Fri Sep 14 14:03:59 BST 2018


Hi Santiago,

On 14/09/18 10:24, Santiago Vila wrote:

> I see that the ignored mount points are not in
> /etc/default/prometheus-node-exporter anymore by default.

No, I moved all that default configuration into the binary's defaults.

> I think this change makes adding/removing ignored mount points more difficult
> for the average user, and I'm not very happy with that.

it is not the simplest, but in the default file you have the
documentation on how to do it, along with the current default value:

#
--collector.filesystem.ignored-mount-points="^/(dev|proc|run|sys|var/lib/docker)($|/)"
#                            Regexp of mount points to ignore for filesystem
#                            collector.

> In either case: Would be possible to add /mnt and /media to the list
> of ignored mount points? (Wherever they are now). I still use those
> mount points occasionally and it would be better for them not to be
> monitored.

Yeah, I think that makes sense. I will add them.


-- 
Martín Ferrari (Tincho)



More information about the Pkg-go-maintainers mailing list