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

WinPerf Input Plugin Problems with multiple process instances #2210

Closed
githubmui opened this issue Dec 29, 2016 · 2 comments
Closed

WinPerf Input Plugin Problems with multiple process instances #2210

githubmui opened this issue Dec 29, 2016 · 2 comments

Comments

@githubmui
Copy link

Hi,

e.g. if Notepad is started three times, then the instances are name "Notepad", "Notepad#1" and "Notepad#2" (Can be seen in PerfMon).
In this situation it seems not possible to get only the "Process" performance counters of instance "Notepad#2".

[[inputs.win_perf_counters]]
[[inputs.win_perf_counters.object]]
# Process metrics
ObjectName = "Process"
Counters = ["ID Process","% Processor Time","Handle Count","Thread Count"]
Instances = ["Notepad#2"]
Measurement = "win_proc"

-> QUESTION 1) Is there a way to overcome this problems?

Even when ' Instances=[""] ' is configured the instances are listed but can not be identified anymore.
With configuration ' Instances=["
"] ' I got a further problem: hundreds of unnecessary process data where returned which repeatedly needed quite a lot of time.

-> QUESTION 2) Is there a possibility to get only Notepad instances e.g. with a filter like ' Instance = ["Notepad*"] '?

Thank you in advance for help.

@danielnelson
Copy link
Contributor

@githubmui I believe this has been fixed by #1827.

@aventrax
Copy link

This is not working on 1.3.2 as detailed on #2879

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