Add _seconds suffix to node_time. (#823)
This commit is contained in:
parent
05eabe60fb
commit
52c031890e
|
@ -35,7 +35,7 @@ func init() {
|
||||||
func NewTimeCollector() (Collector, error) {
|
func NewTimeCollector() (Collector, error) {
|
||||||
return &timeCollector{
|
return &timeCollector{
|
||||||
desc: prometheus.NewDesc(
|
desc: prometheus.NewDesc(
|
||||||
namespace+"_time",
|
namespace+"_time_seconds",
|
||||||
"System time in seconds since epoch (1970).",
|
"System time in seconds since epoch (1970).",
|
||||||
nil, nil,
|
nil, nil,
|
||||||
),
|
),
|
||||||
|
|
|
@ -41,7 +41,7 @@ implementation details vary from "**local** wall-clock time" to "Reference Time
|
||||||
field in incoming SNTP packet".
|
field in incoming SNTP packet".
|
||||||
|
|
||||||
`time() - node_ntp_reference_timestamp_seconds` and
|
`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.
|
"freshness" of synchronization.
|
||||||
|
|
||||||
### `node_ntp_root_delay` and `node_ntp_root_dispersion`
|
### `node_ntp_root_delay` and `node_ntp_root_dispersion`
|
||||||
|
|
Loading…
Reference in New Issue