Windows [inputs.cpu] - what does it collect

This input returns cpu data; however, the cpu=cpu tag is missing. Does anyone know what the data represents? Is it an average of all cpus? Is it the first cpu? Does it represent data from the busiest cpu? Is it random?

Based on a code inspection, in Windows the data comes from a call to GetSystemTimes, which returns the total across all cpus.

1 Like

@hcrocker Also I would suggest trying win_perf_counters if you want more control over this collection on windows.