-
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
[Metricbeat] Grouping Windows Perfmon Metrics in Events #6584
Comments
Related #4944. |
We'd love to see this functionality. The way the perfmon module works atm is not very efficient and generates a huge amount of documents with very little information. For example try gather some diskio related counters on 1k+ Windows servers every 10s:
Check this graph: This is for only the above perfmon counters on 6 Windows servers. |
Just wanted to add that I have a feeling that the millions of documents the perfmon module is generating results in very slow recovery of metricbeat indices. I added the diskio metrics from my previous post on +- 600 servers and have seen a significant detoriation of performance during recovery. (it could of course be related to other things in my cluster, but still wanted to mention this, maybe other customers are seeing the same) |
Hey @andrewkroh, is someone working on this topic? |
AFAIK nobody is working on it at the moment. |
Ok. I like the idea to group events in a namespace. If ok then i would open a PR. |
Of course, that would be great. |
@andrewkroh, if you want to collect for multiple instances you want to do it this way?
|
Maybe while this is being rewritten, we should consider a perfmon ecs object? It would be nice if there is some sort of convention for perfmon data, so that everyone is using the same field names? |
@willemdh Not sure if ECS should have something specific to perfmon. Perfmon can use ECS fields but there are lots of metrics which I would not expect to be in ECS in perfmon. This is not only related to perfmon but metrics in general. |
To avoid duplication of the
|
Hello folks, +1 on the requirement, but ... When checking around, system.filesystem does not return all mount points of Windows. Three options here :
What would be the best ? |
Pinging @elastic/infrastructure |
The perfmon metricset is still in Beta. There are a few improvements I would like to see like elastic#6584 before pushing this to GA. These changes could be breaking changes.
The perfmon metricset is still in Beta. There are a few improvements I would like to see like #6584 before pushing this to GA. These changes could be breaking changes.
The perfmon metricset is still in Beta. There are a few improvements I would like to see like elastic#6584 before pushing this to GA. These changes could be breaking changes. (cherry picked from commit dbfa3ef)
#8688) This flag will send all perfmon measurements with a matching instance label as part of the same event (i.e. all metrics for C:, Processor X, etc.). This addresses some of the issues raised in #6584. In most cases enabling this flag considerably reduces the number of events sent by metricbeat.
elastic#8688) This flag will send all perfmon measurements with a matching instance label as part of the same event (i.e. all metrics for C:, Processor X, etc.). This addresses some of the issues raised in elastic#6584. In most cases enabling this flag considerably reduces the number of events sent by metricbeat.
#11002) This flag will send all perfmon measurements with a matching instance label as part of the same event (i.e. all metrics for C:, Processor X, etc.). This addresses some of the issues raised in #6584. In most cases enabling this flag considerably reduces the number of events sent by metricbeat. Co-Authored-By: Josh Smith <j_smith95@live.com>
I think the best would be to generate single event per performance counter value and use pre-defined field names so the result could look like this: There are many advantages:
|
Based on multiple requests we have worked on a new config format and event output that should satisfy most of the proposed options here, will close the issue for now, if there are any questions, please reopen and resume the conversation. (referred PR #17596) |
The perfmon metricset generates one event per counter instance. It would be nice to offer more flexibility in grouping related metrics into a single event.
Having a single event per metric was the simplest implementation that would allow similar metrics to be grouped and visualized (e.g. visualize disk write times for each disk instance on the same graph).
It would be nice to be able to group all metrics related to an instance of an object (e.g. all metrics for C:\ or all metrics for processor 0). Here are some examples that show my idea.
The first query uses a Performance Data Helper (PDH) path of
\Processor(*)\<counter name>
. And would produce an event likeThe second query uses a PDH path of
\UDPv4\<counter name>
(it has no instance) and produces an event likeThis would also resolve #6528.
Related Info
The text was updated successfully, but these errors were encountered: