From c4a4da07f80f13db2a5b5900912bc7722aa4558a Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 1 Feb 2024 09:46:33 +0100 Subject: [PATCH] Fix typo "Labelled" Signed-off-by: Simon Legner --- docs/collector.cpu_info.md | 2 +- docs/collector.cs.md | 2 +- pkg/collector/cpu_info/cpu_info.go | 2 +- pkg/collector/cs/cs.go | 2 +- tools/e2e-output.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/collector.cpu_info.md b/docs/collector.cpu_info.md index 3108563b..52b3b4c4 100644 --- a/docs/collector.cpu_info.md +++ b/docs/collector.cpu_info.md @@ -17,7 +17,7 @@ None Name | Description | Type | Labels -----|-------------|------|------- -`windows_cpu_info` | Labeled CPU information | gauge | `architecture`, `device_id`, `description`, `family`, `l2_cache_size` `l3_cache_size`, `name` +`windows_cpu_info` | Labelled CPU information | gauge | `architecture`, `device_id`, `description`, `family`, `l2_cache_size` `l3_cache_size`, `name` ### Example metric ``` diff --git a/docs/collector.cs.md b/docs/collector.cs.md index 68c2495e..ffec191b 100644 --- a/docs/collector.cs.md +++ b/docs/collector.cs.md @@ -18,7 +18,7 @@ Name | Description | Type | Labels -----|-------------|------|------- `windows_cs_logical_processors` | Number of installed logical processors | gauge | None `windows_cs_physical_memory_bytes` | Total installed physical memory | gauge | None -`windows_cs_hostname` | Labeled system hostname information | gauge | `hostname`, `domain`, `fqdn` +`windows_cs_hostname` | Labelled system hostname information | gauge | `hostname`, `domain`, `fqdn` ### Example metric _This collector does not yet have explained examples, we would appreciate your help adding them!_ diff --git a/pkg/collector/cpu_info/cpu_info.go b/pkg/collector/cpu_info/cpu_info.go index 012dd540..e145df3b 100644 --- a/pkg/collector/cpu_info/cpu_info.go +++ b/pkg/collector/cpu_info/cpu_info.go @@ -57,7 +57,7 @@ func (c *collector) GetPerfCounter() ([]string, error) { func (c *collector) Build() error { c.CpuInfo = prometheus.NewDesc( prometheus.BuildFQName(types.Namespace, "", Name), - "Labeled CPU information as provided provided by Win32_Processor", + "Labelled CPU information as provided provided by Win32_Processor", []string{ "architecture", "device_id", diff --git a/pkg/collector/cs/cs.go b/pkg/collector/cs/cs.go index ba8cc8b2..974883e5 100644 --- a/pkg/collector/cs/cs.go +++ b/pkg/collector/cs/cs.go @@ -63,7 +63,7 @@ func (c *collector) Build() error { ) c.Hostname = prometheus.NewDesc( prometheus.BuildFQName(types.Namespace, Name, "hostname"), - "Labeled system hostname information as provided by ComputerSystem.DNSHostName and ComputerSystem.Domain", + "Labelled system hostname information as provided by ComputerSystem.DNSHostName and ComputerSystem.Domain", []string{ "hostname", "domain", diff --git a/tools/e2e-output.txt b/tools/e2e-output.txt index e0bc6668..b7d97326 100644 --- a/tools/e2e-output.txt +++ b/tools/e2e-output.txt @@ -27,7 +27,7 @@ test_alpha_total 42 # TYPE windows_cpu_processor_rtc_total counter # HELP windows_cpu_processor_utility_total Processor Utility represents is the amount of time the core spends executing instructions # TYPE windows_cpu_processor_utility_total counter -# HELP windows_cs_hostname Labeled system hostname information as provided by ComputerSystem.DNSHostName and ComputerSystem.Domain +# HELP windows_cs_hostname Labelled system hostname information as provided by ComputerSystem.DNSHostName and ComputerSystem.Domain # TYPE windows_cs_hostname gauge # HELP windows_cs_logical_processors ComputerSystem.NumberOfLogicalProcessors # TYPE windows_cs_logical_processors gauge