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

Access Windows counters #507

Closed
monicasarbu opened this issue Dec 10, 2015 · 8 comments
Closed

Access Windows counters #507

monicasarbu opened this issue Dec 10, 2015 · 8 comments
Labels

Comments

@monicasarbu
Copy link
Contributor

Access all the counters that windows has to offer by using perfmon to view the available counters.

A lot of those custom counters can come in very useful, e.g. SQL Server:Locks "Average Wait Time (ms)"

If you're periodically firing up powershell to check those counters there can be a pretty noticeable CPU hit, perfmon seems to be a lighter option.
I noticed the powershell overhead when performance testing Splunk data collection and found this in reference to it:
https://powertoe.wordpress.com/2012/06/27/how-to-execute-powershell-scripts-without-the-cpu-hit-to-start-powershell/

@monicasarbu
Copy link
Contributor Author

Duplicate the issue from: https://github.com/elastic/topbeat/issues/28

@monicasarbu monicasarbu changed the title Support for Windows counters Access Windows counters Dec 10, 2015
@elvarb
Copy link

elvarb commented Dec 10, 2015

This already exists in a very solid package

https://github.com/MattHodge/Graphite-PowerShell-Functions

Runs once and then polls the metrics at an interval and sends in graphite format someplace.

Been using this for well over a year with great results. But I'm hoping a beat to be able to do the same in the future.

@monicasarbu
Copy link
Contributor Author

@elvarb thanks for sharing with us.

@ESamir
Copy link

ESamir commented Feb 9, 2016

+1

2 similar comments
@ArtyomBaranovskiy
Copy link

+1

@sylbae
Copy link

sylbae commented Mar 7, 2016

+1

@eskibars
Copy link
Contributor

Related: I added a community beat at https://github.com/eskibars/wmibeat which can execute arbitrary WMI queries, including access to perfmon counters

@andrewkroh
Copy link
Member

Metricbeat 6.x is adding a windows/perfmon metricset for reading Windows Performance Counters. Progress is tracked in #3828.

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

No branches or pull requests

7 participants