Merge pull request #1401 from simon04/patch-1

This commit is contained in:
Jan-Otto Kröpke 2024-04-20 21:25:44 +02:00 committed by GitHub
commit 802f0df07a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ func (c *collector) Build() error {
) )
c.ProcessorPrivUtility = prometheus.NewDesc( c.ProcessorPrivUtility = prometheus.NewDesc(
prometheus.BuildFQName(types.Namespace, Name, "processor_privileged_utility_total"), prometheus.BuildFQName(types.Namespace, Name, "processor_privileged_utility_total"),
"Processor Privilieged Utility represents is the amount of time the core has spent executing instructions inside the kernel", "Processor Privileged Utility represents is the amount of time the core has spent executing instructions inside the kernel",
[]string{"core"}, []string{"core"},
nil, nil,
) )

View File

@ -21,7 +21,7 @@ test_alpha_total 42
# TYPE windows_cpu_time_total counter # TYPE windows_cpu_time_total counter
# HELP windows_cpu_processor_mperf_total Processor MPerf is the number of TSC ticks incremented while executing instructions # HELP windows_cpu_processor_mperf_total Processor MPerf is the number of TSC ticks incremented while executing instructions
# TYPE windows_cpu_processor_mperf_total counter # TYPE windows_cpu_processor_mperf_total counter
# HELP windows_cpu_processor_privileged_utility_total Processor Privilieged Utility represents is the amount of time the core has spent executing instructions inside the kernel # HELP windows_cpu_processor_privileged_utility_total Processor Privileged Utility represents is the amount of time the core has spent executing instructions inside the kernel
# TYPE windows_cpu_processor_privileged_utility_total counter # TYPE windows_cpu_processor_privileged_utility_total counter
# HELP windows_cpu_processor_rtc_total Processor RTC represents the number of RTC ticks made since the system booted. It should consistently be 64e6, and can be used to properly derive Processor Utility Rate # HELP windows_cpu_processor_rtc_total Processor RTC represents the number of RTC ticks made since the system booted. It should consistently be 64e6, and can be used to properly derive Processor Utility Rate
# TYPE windows_cpu_processor_rtc_total counter # TYPE windows_cpu_processor_rtc_total counter