Add unit suffix to textfile collector mtime metric (#796)

This commit is contained in:
Julius Volz 2018-01-22 14:02:19 +01:00 committed by GitHub
commit 6cac74f0e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 28 additions and 28 deletions

View file

@ -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,