mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-03 15:31:05 +01:00
collector/filesystem: fixing logging message
this change fixes the logging message for the filesystem ignored-fs-types flag to output the flag instead of the mountpoints flag. Signed-off-by: xinau <felix.ehrenpfort@protonmail.com>
This commit is contained in:
parent
f645d49242
commit
daa7303a82
@ -73,7 +73,7 @@ func NewFilesystemCollector(logger log.Logger) (Collector, error) {
|
||||
subsystem := "filesystem"
|
||||
level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-mount-points", "flag", *ignoredMountPoints)
|
||||
mountPointPattern := regexp.MustCompile(*ignoredMountPoints)
|
||||
level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-fs-types", "flag", *ignoredMountPoints)
|
||||
level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-fs-types", "flag", *ignoredFSTypes)
|
||||
filesystemsTypesPattern := regexp.MustCompile(*ignoredFSTypes)
|
||||
|
||||
sizeDesc := prometheus.NewDesc(
|
||||
|
Loading…
Reference in New Issue
Block a user