We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8f190 commit 23c6edeCopy full SHA for 23c6ede
collector/ext4_linux.go
@@ -26,11 +26,15 @@ import (
26
"github.com/prometheus/procfs/ext4"
27
)
28
29
+const (
30
+ ext4DefaultIgnoredDevices = "^features$"
31
+)
32
+
33
var (
34
ext4DeviceExclude = kingpin.Flag(
35
"collector.ext4.device-exclude",
36
"Regexp of ext4 devices to exclude (mutually exclusive to device-include).",
- ).String()
37
+ ).Default(ext4DefaultIgnoredDevices).String()
38
39
ext4DeviceInclude = kingpin.Flag(
40
"collector.ext4.device-include",
0 commit comments