-
Notifications
You must be signed in to change notification settings - Fork 706
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
wmi_exporter footprint #375
Comments
Hi @szymon3! Still, we might need to make some improvements. As of version 0.8, on each scrape, the exporter will fetch a snapshot of all performance counters in the system, which does have a slight overhead. We could try to make this more targeted. So for your specific situation right now, I'd increase the interval (quite a bit). |
Hi @carlpett, thanks a lot for prompt reply. Probably I've explained it in wrong way. The 2 seconds interval was set in Performance Tracking tool (red chart, CPU usage of process in Windows). Prometheus is scraping wmi_exporter endpoint every 15 seconds, as you suggested. Do you see any options how can I improve this situation at this moment? Downgrade to version <0.8? |
Ah, ok, sorry for misunderstanding! 15 seconds is more reasonable :) |
First oddness I can see is that the perfmon value looks quite high on my machine too, but it doesn't match other measurements. There's another thing, though. wmi_exporter is showing up in your "top memory users", which is worrying. We shouldn't need several hundred megabytes of data. A memory leak often means higher processor usage, so I'll have a look at why this could happen. |
See #376 for the memory part. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Hi,
Recently I've started using wmi_exporter on Windows Server 2016 with following specification:
After checking performance impact of monitoring I realized that it's using quite a lot CPU, please see below chart (chart: 10 minutes, samples every 2 seconds; wmi_exporter.exe running with only one collector enabled - textfile):
In my opinion it's not as low footprint as it should be. It doesn't matter if it's running as .exe file or service and I also made a test with higher number of collectors enabled, CPU usage was similar.
Do you have any ideas how I can lower the footprint? Is it possible to lower metrics scrape interval to, e.g. 15 seconds?
Here's a dump of metrics collected:
Metrics
I appreciate your help!
The text was updated successfully, but these errors were encountered: