mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
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) {
|
||||
return &timeCollector{
|
||||
desc: prometheus.NewDesc(
|
||||
namespace+"_time",
|
||||
namespace+"_time_seconds",
|
||||
"System time in seconds since epoch (1970).",
|
||||
nil, nil,
|
||||
),
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user