-
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
Feature request: custom arguments to pgrep for procstat #2505
Labels
area/procstat
help wanted
Request for community participation, code, contribution
size/m
2-4 day effort
Comments
I agree this would be good to have |
So long as we are exec'ing |
1 task
Any ETA on this? |
Good morning, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/procstat
help wanted
Request for community participation, code, contribution
size/m
2-4 day effort
Proposal:
For advanced use cases, it would be nice to be able to provide custom arguments to the
pgrep
command used by theprocstat
input plugin.Current behavior:
No such option
Desired behavior:
Use case: [Why is this important (helps with prioritizing requests)]
In my specific use case, and in the example I gave above, we want
-w
so that we can monitor threads. We also need-x
so thatpgrep
doesn't erroneously match the wrong process. The-x
is just a nicety though, and we can match other ways. The important bit which we have no workaround for is the-w
. But a generic way to provide custom arguments makes it more flexible so users can do whatever they want.Ref: #1828 #1723 #932
The text was updated successfully, but these errors were encountered: