-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Windows services metric add this process id #4209
Comments
The biggest problem with PIDs in procstat is that when they are used as a tag you could potentially be multiplying your series size by pid_max. Ideally you would use a different set of tags for uniqueness, ones that don't churn often, but in the case of procstat the only completely general purpose solution is the PID. With Windows services, I believe the service name is also unique, and the PID is not needed for uniqueness. Because of this I think the PID should be added as a field and the Another possibility would be to add a new lookup method to procstat that selects the PID based on the service name, it would be similar to the |
I agree. :) I like the second method, beacuse user can collect metrics about correlate the two series on the service name with this method. I see Now in the Linux, i use In addition, |
This option made sense when it was introduced, but following the pattern is problematic because if you were to add an option for every tag/field someone might want altered the configuration will grow out of control. This is why we have starting adding more processors that can tweak the schema, and in the future I hope to allow processors to be directly attached to plugins to help with the spatial problem of needing to configure them in another location.
Let's just add an option
You could probably use the |
Great! :)
I know this, but i think use the same inputs plugin on different platforms is nice, and config is also easy.
I try |
On the |
ok, i will open a new issue to describe it. |
Hi, @danielnelson . I send a PR to implement this issue. I hope you can review it if you have time. Some checks were not successful for this pr. I am not very clear about how to make changes, if it can not ignore, can you tell me how to fix it? Thanks. |
closed in #4811 |
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Currently i use telegraf collect windows proccess metrics, and i also use it to gather windows the specific services. I want to select this service process metrics.
Current behavior:
Now i select measurement
procstat
andwin_services
, measurements have not related.Desired behavior:
win_services add
pid
field or tag, make two measurements related.Use case: [Why is this important (helps with prioritizing requests)]
Can use
procstat.pid
andwin_services.pid
to select the specified service process metrics.The text was updated successfully, but these errors were encountered: