From ca5124fdf90c7c3104b193f76b58c2cff03a35a2 Mon Sep 17 00:00:00 2001 From: Yuriy Ostapenko Date: Tue, 8 Aug 2023 09:57:56 +0200 Subject: [PATCH] Add _total suffix for counters Signed-off-by: Yuriy Ostapenko --- collector/hyperv.go | 4 ++-- docs/collector.hyperv.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/collector/hyperv.go b/collector/hyperv.go index d2208f36..39fd0d92 100644 --- a/collector/hyperv.go +++ b/collector/hyperv.go @@ -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, diff --git a/docs/collector.hyperv.md b/docs/collector.hyperv.md index a47d2ae3..0b799e6b 100644 --- a/docs/collector.hyperv.md +++ b/docs/collector.hyperv.md @@ -51,11 +51,11 @@ Name | Description | Type | Labels `windows_hyperv_host_cpu_hypervisor_run_time` | _Not yet documented_ | counter | `core` `windows_hyperv_host_cpu_remote_run_time` | _Not yet documented_ | counter | `core` `windows_hyperv_host_cpu_total_run_time` | _Not yet documented_ | counter | `core` -`windows_hyperv_host_cpu_wait_time_per_dispatch` | _Not yet documented_ | counter | `core` +`windows_hyperv_host_cpu_wait_time_per_dispatch_total` | _Not yet documented_ | counter | `core` `windows_hyperv_vm_cpu_guest_run_time` | _Not yet documented_ | counter | `vm`, `core` `windows_hyperv_vm_cpu_hypervisor_run_time` | _Not yet documented_ | counter | `vm`, `core` `windows_hyperv_vm_cpu_remote_run_time` | _Not yet documented_ | counter | `vm`, `core` -`windows_hyperv_vm_cpu_wait_time_per_dispatch` | _Not yet documented_ | counter | `vm`, `core` +`windows_hyperv_vm_cpu_wait_time_per_dispatch_total` | _Not yet documented_ | counter | `vm`, `core` `windows_hyperv_vm_memory_added_total` | _Not yet documented_ | counter | `vm` `windows_hyperv_vm_memory_pressure_average` | _Not yet documented_ | gauge | `vm` `windows_hyperv_vm_memory_pressure_current` | _Not yet documented_ | counter | `vm`