-
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
win_perf_counters seems to have broken in latest update #8382
Comments
I don't believe this is a change in functionality, we just started logging these messages instead of quietly discarding them. Do you think this is because the names aren't escaped properly? |
oh, git hub is removing the escaping |
The same problem in Telegraf 1.16.2 |
The problem resists in 1.17.0. 2021-02-04T14:28:00Z W! [inputs.win_perf_counters] error while getting value for counter "\\SYSPCX35183\Process(notepad++#1)\Private Bytes", will skip metric: The data is not valid. etc. |
Same in 1.17.2 2021-02-04T15:05:23Z I! Loaded inputs: mem win_perf_counters |
The values of this counters are usually >100%, f. e. 50% on every processor core => 4 Cores x 50% = 200%. There were similar issues in the past with CPU load performance counters. Telegraf should not try scale this values on it's own. This can be done in Grafana in the dashboard. Older versions of Telegraf has done this in this way. |
OK, for CPU, but what about "Private Bytes"? Or others? Could not be reason of not existing process (i.e. killed/finished) in the meantime? |
For a while I used the last working version I had, 1.15.1. Today I tried to change to 1.20, but the problem resists. After so much time nobody found the reason for this behaviour? 2021-09-22T17:09:00Z W! [inputs.win_perf_counters] error while getting value for counter "\\SYSPCX35183\Process(svchost#87)\Private Bytes", will skip metric: The data is not valid. |
Same here with |
I often see the error for processes that have just ended. |
Problem is still there in v1.22.0 Is there a way to stop these warnings being logged so Windows event logs don't get clogged up? |
1.22.3 same |
Recently the log message was updated to include the instance name: #10995 to help identify the culprit behind the log messages. This might help you reduce the warnings, an option is to have this error only show up when running Telegraf with I am not a user of win_perf_counters, so interested to hear from the people who are facing problems with this issue. Is the included instance name sufficient or do we need to add an option to ignore these warnings? |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
hi
moved from version 1.15.3 to 1.16.1 and I think a plugin update has broken something. This did used to work.
[[inputs.win_perf_counters]]
UseWildcardsExpansion = true
log file now reporting:
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java)\Handle Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#4)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#3)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#2)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#1)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#4)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#3)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#2)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#1)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java)\Private Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#4)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#3)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#2)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#1)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#4)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#3)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#2)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#1)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java)\Thread Count", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#4)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#3)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#2)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#1)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#4)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#3)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#2)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#1)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java)\Virtual Bytes", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#4)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#3)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#2)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd#1)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#4)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(cmd)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#3)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#2)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java#1)\Working Set", will skip metric: The data is not valid.
2020-11-10T12:21:01Z W! [inputs.win_perf_counters] error while getting value for counter "\\mymachine\Process(java)\Working Set", will skip metric: The data is not valid.
The text was updated successfully, but these errors were encountered: