mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-03 15:31:05 +01:00
Change "filesystem" to "mountpoint" to better reflect the new labels.
This commit is contained in:
parent
b22d2e9739
commit
676ed5c6ac
@ -43,7 +43,7 @@ func init() {
|
||||
// Takes a prometheus registry and returns a new Collector exposing
|
||||
// network device filesystems.
|
||||
func NewFilesystemCollector() (Collector, error) {
|
||||
var filesystemLabelNames = []string{"device", "filesystem", "fstype"}
|
||||
var filesystemLabelNames = []string{"device", "mountpoint", "fstype"}
|
||||
|
||||
return &filesystemCollector{
|
||||
ignoredMountPointsPattern: regexp.MustCompile(*ignoredMountPoints),
|
||||
|
Loading…
Reference in New Issue
Block a user