-
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
Couldn't get all the processes data running in Metricbeats Windows Module #13091
Comments
@prakash1243 , I have briefly tested this scenario and could not reproduce the issue. When metricbeat starts it will calculate all possible counter paths based on the configuration set and add them to a list, it will then fetch the counter values based on the interval set and that counter list. If a process was stopped when metricbeat has started there will be a chance it is not included in the list of counter paths. |
@narph - Am using Windows 2012R2 64 bit server.
|
@narph - any response to my above question. Thanks ! |
hi @prakash1243, Regarding:
I have briefly described the scenario above:
The list of processes/instances we retrieve the performance counters on is calculated when metricbeat starts. At each fetch, we retrieve the counters values but we do not reload the list of processes/instances so it could be that you encounter the situation when a new process is started (for example) while metricbeat is running and is not part of the list. No performance counters are collected in this case. To avoid this situation, the list should be reloaded/refreshed at each fetch in order to pick up any new processes/instances that started during the run. In your case, you are describing the situation where the process has been restarted instead of just started.
Just to understand the behavior you are describing: |
@narph - Yes, we had few processes had been set to delayed start, by then metricbeats service has been started. So that was the reason we don't see the data. Is there any way that we can expect metricbeats to discover the new processes and start collecting the data? Please let me know. Thanks ! |
@narph - Exactly, how do we handle this? |
Hi @narph - |
hi @prakash1243, a new PR will be necessary in order to add this refresh list option |
* Add refresh list of perf counters at every fetch #13091 * clean up code * Work on feedback * Remove counters
@narph - There seems to be high in CPU Usage after adding the refresh list in Perf counters in every fetch and some unrealsitic data found in for couple of counters. Do you want me to open a new defect for this ? |
@prakash1243 , yes, can you create a new issue for this and also provide the following for testing:
|
Hi @narph -
I took the snapshot build and tested the metricbeats, I encountered an issue with the Windows Perfmon Module, metricbeats couldn't able to pull all the processes data running on the server, lets say if I restart a process, metricbeats is not able to capture the data for that particular restarted process unless I restart the metricbeats, Please let me know if you need any additional information. Thanks !
The text was updated successfully, but these errors were encountered: