Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows performance counter "CPU Wait Time Per Dispatch" return wrong value. #1528

Closed
rainqt opened this issue Jul 21, 2016 · 3 comments
Closed

Comments

@rainqt
Copy link

rainqt commented Jul 21, 2016

Bug report

telegraf always return wrong value (100) from counter "Hyper-V Hypervisor Virtual Processor(*)\CPU Wait Time Per Dispatch"

Relevant telegraf.conf:

default config
[[inputs.win_perf_counters.object]]
ObjectName = "Hyper-V Hypervisor Virtual Processor"
Counters = ["% Guest Run Time","% Hypervisor Run Time","% Total Run Time","CPU Wait Time Per Dispatch"]
Instances = ["*"]
Measurement = "hyperv_vcpu"
IncludeTotal=false

System info:

telegraf 0.13.1
telegraf 1.0.0 beta3
OS: Windows server 2012 R2, hyper-v role installed.

Steps to reproduce:

  1. try to collect data from counters "Hyper-V Hypervisor Virtual Processor()\CPU Wait Time Per Dispatch" or "Hyper-V Hypervisor Root Virtual Processor()\CPU Wait Time Per Dispatch"

Expected behavior:

should return the correct value

Actual behavior:

telegraf always return "100"

@lucadistefano
Copy link

this may be the same of #1291 point 2 and #2483

@danielnelson
Copy link
Contributor

I think it is likely that this was fixed by #2483. @rainqt can you retest? If needed, you can get a nightly build here
https://dl.influxdata.com/telegraf/nightlies/telegraf-nightly_windows_amd64.zip

@rainqt
Copy link
Author

rainqt commented Mar 27, 2017

@danielnelson, i retest on nightly build and telegraf returns the correct data. Works great!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants