From 52c031890ee6d2b97097f05b86457318afea5532 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Wed, 14 Feb 2018 16:59:08 +0000 Subject: [PATCH] Add _seconds suffix to node_time. (#823) --- collector/time.go | 2 +- docs/TIME.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/time.go b/collector/time.go index 86102d7..eb57bd8 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 0f28718..f48c080 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`