-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[inputs.win_perf_counters] skip PdhCstatusNoInstance error #14557
Labels
feature request
Requests for new plugin and for new features to existing plugins
Comments
hiroshi-iim
added
the
feature request
Requests for new plugin and for new features to existing plugins
label
Jan 9, 2024
powersj
added a commit
to powersj/telegraf
that referenced
this issue
Jan 12, 2024
1 task
Thanks for filing the second issue. My only open question is if we should make this change opt-in, via a config setting. I don't think there is any harm in adding this and users would only be getting additional data, not less. I have put up #14570 which incorporates both PRs. Could you confirm it gets the data for you? Thanks! |
telegraf-tiger
bot
removed
the
waiting for response
waiting for response from contributor
label
Jan 15, 2024
powersj
added a commit
to powersj/telegraf
that referenced
this issue
Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
I plan to collect processes metrics on Windows host using configuration like below.
I tested this configuration with the following steps.
python -c "while True: i=1"
.Expected behavior
Telegraf continues to output records of running processes (matching "python*" in this case).
Actual behavior
Telegraf outputs error logs shown below and stops to output records until counters are refreshed.
Additional info
I temporarily modified
isKnownCounterDataError
function to return true when errorcode isPdhCstatusNoInstance
and ran same senario. In the case telegraf outputs warn logs shown below but continues to output records of python instance which has consistent value.Actually I have to set
Instances = ["*"]
in real case. In that case there are more chances to seePdhCstatusNoInstance
error.This is derived from #14486
The text was updated successfully, but these errors were encountered: