diff --git a/collector/time.go b/collector/time.go index 86102d7a..eb57bd85 100644 --- a/collector/time.go +++ b/collector/time.go @@ -35,7 +35,7 @@ func init() { func NewTimeCollector() (Collector, error) { return &timeCollector{ desc: prometheus.NewDesc( - namespace+"_time", + namespace+"_time_seconds", "System time in seconds since epoch (1970).", nil, nil, ), diff --git a/docs/TIME.md b/docs/TIME.md index 0f28718f..f48c080a 100644 --- a/docs/TIME.md +++ b/docs/TIME.md @@ -41,7 +41,7 @@ implementation details vary from "**local** wall-clock time" to "Reference Time field in incoming SNTP packet". `time() - node_ntp_reference_timestamp_seconds` and -`node_time - node_ntp_reference_timestamp_seconds` represent some estimate of +`node_time_seconds - node_ntp_reference_timestamp_seconds` represent some estimate of "freshness" of synchronization. ### `node_ntp_root_delay` and `node_ntp_root_dispersion`