Add unit suffix to textfile collector mtime metric (#796)
This commit is contained in:
parent
a98067a294
commit
6cac74f0e0
11 changed files with 28 additions and 28 deletions
|
|
@ -36,7 +36,7 @@ var (
|
|||
textFileDirectory = kingpin.Flag("collector.textfile.directory", "Directory to read text files with metrics from.").Default("").String()
|
||||
textFileAddOnce sync.Once
|
||||
mtimeDesc = prometheus.NewDesc(
|
||||
"node_textfile_mtime",
|
||||
"node_textfile_mtime_seconds",
|
||||
"Unixtime mtime of textfiles successfully read.",
|
||||
[]string{"file"},
|
||||
nil,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue