-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Comments
Duplicate the issue from: https://github.com/elastic/topbeat/issues/28 |
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. |
@elvarb thanks for sharing with us. |
+1 |
2 similar comments
+1 |
+1 |
Related: I added a community beat at https://github.com/eskibars/wmibeat which can execute arbitrary WMI queries, including access to perfmon counters |
Metricbeat 6.x is adding a windows/perfmon metricset for reading Windows Performance Counters. Progress is tracked in #3828. |
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/
The text was updated successfully, but these errors were encountered: