diff --git a/discovery/file/file.go b/discovery/file/file.go index 5de5814af..5e10c1a54 100644 --- a/discovery/file/file.go +++ b/discovery/file/file.go @@ -127,7 +127,7 @@ func (t *TimestampCollector) removeDiscoverer(disc *Discovery) { func NewTimestampCollector() *TimestampCollector { return &TimestampCollector{ Description: prometheus.NewDesc( - "prometheus_sd_file_timestamp", + "prometheus_sd_file_mtime_seconds", "Timestamp (mtime) of files read by FileSD. Timestamp is set at read time.", []string{"filename"}, nil,