You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
level.Warn(logger).Log("msg", "--collector.filesystem.ignored-mount-points is DEPRECATED and will be removed in 2.0.0, use --collector.filesystem.mount-points-exclude")
94
+
*mountPointsExclude=*oldMountPointsExcluded
95
+
} else {
96
+
returnnil, errors.New("--collector.filesystem.ignored-mount-points and --collector.filesystem.mount-points-exclude are mutually exclusive")
97
+
}
98
+
}
99
+
100
+
if*oldFSTypesExcluded!="" {
101
+
if!fsTypesExcludeSet {
102
+
level.Warn(logger).Log("msg", "--collector.filesystem.ignored-fs-types is DEPRECATED and will be removed in 2.0.0, use --collector.filesystem.fs-types-exclude")
103
+
*fsTypesExclude=*oldFSTypesExcluded
104
+
} else {
105
+
returnnil, errors.New("--collector.filesystem.ignored-fs-types and --collector.filesystem.fs-types-exclude are mutually exclusive")
106
+
}
107
+
}
108
+
73
109
subsystem:="filesystem"
74
-
level.Info(logger).Log("msg", "Parsed flag --collector.filesystem.ignored-mount-points", "flag", *ignoredMountPoints)
0 commit comments