mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 06:59:44 -08:00
Do not export the filesystem type pattern
This commit is contained in:
parent
bf88b6ee0f
commit
f0630d5cbb
|
@ -64,7 +64,7 @@ func init() {
|
|||
func NewFilesystemCollector() (Collector, error) {
|
||||
subsystem := "filesystem"
|
||||
mountPointPattern := regexp.MustCompile(*ignoredMountPoints)
|
||||
FSTypesPattern := regexp.MustCompile(*ignoredFSTypes)
|
||||
filesystemsTypesPattern := regexp.MustCompile(*ignoredFSTypes)
|
||||
|
||||
sizeDesc := prometheus.NewDesc(
|
||||
prometheus.BuildFQName(Namespace, subsystem, "size"),
|
||||
|
@ -104,7 +104,7 @@ func NewFilesystemCollector() (Collector, error) {
|
|||
|
||||
return &filesystemCollector{
|
||||
ignoredMountPointsPattern: mountPointPattern,
|
||||
ignoredFSTypesPattern: FSTypesPattern,
|
||||
ignoredFSTypesPattern: filesystemsTypesPattern,
|
||||
sizeDesc: sizeDesc,
|
||||
freeDesc: freeDesc,
|
||||
availDesc: availDesc,
|
||||
|
|
Loading…
Reference in a new issue