mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-10 04:26:35 +00:00
promtool: Fix windows_time_ntp_client_time_source_count
Related to #659, this is a breaking change! Fixes ``` windows_time_ntp_client_time_source_count non-histogram and non-summary metrics should not have "_count" suffix ``` for the time collector. Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ func newTimeCollector() (Collector, error) {
|
||||
nil,
|
||||
),
|
||||
NTPClientTimeSourceCount: prometheus.NewDesc(
|
||||
prometheus.BuildFQName(Namespace, subsystem, "ntp_client_time_source_count"),
|
||||
prometheus.BuildFQName(Namespace, subsystem, "ntp_client_time_sources"),
|
||||
"Active number of NTP Time sources being used by the client",
|
||||
nil,
|
||||
nil,
|
||||
|
||||
Reference in New Issue
Block a user