Add _seconds suffix to node_time. (#823)

This commit is contained in:
Brian Brazil 2018-02-14 16:59:08 +00:00 committed by GitHub
parent 05eabe60fb
commit 52c031890e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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