Add _total suffix for counters

Signed-off-by: Yuriy Ostapenko <yuo@scalepoint.com>
This commit is contained in:
Yuriy Ostapenko
2023-08-08 09:57:56 +02:00
parent e2b48497f4
commit ca5124fdf9
2 changed files with 4 additions and 4 deletions

View File

@@ -365,7 +365,7 @@ func newHyperVCollector(logger log.Logger) (Collector, error) {
nil,
),
HostCPUWaitTimePerDispatch: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, buildSubsystemName("host_cpu"), "wait_time_per_dispatch"),
prometheus.BuildFQName(Namespace, buildSubsystemName("host_cpu"), "wait_time_per_dispatch_total"),
"Time in nanoseconds waiting for a virtual processor to be dispatched onto a logical processor",
[]string{"core"},
nil,
@@ -398,7 +398,7 @@ func newHyperVCollector(logger log.Logger) (Collector, error) {
nil,
),
VMCPUWaitTimePerDispatch: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, buildSubsystemName("vm_cpu"), "wait_time_per_dispatch"),
prometheus.BuildFQName(Namespace, buildSubsystemName("vm_cpu"), "wait_time_per_dispatch_total"),
"Time in nanoseconds waiting for a virtual processor to be dispatched onto a logical processor",
[]string{"vm", "core"},
nil,