-
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
Procstat should support multiple search criteria #6174
Comments
I should mention that the plugin right now only supports lookup using a single search criteria, so if you set both On the tags though, we should update the plugin so that the lookup tags on |
Tried fixing this today and it ended up being a result of procstat using only one search criteria. I'm going to convert this issue into a feature request for performing a logical AND across all the set search terms. |
hello? |
It would be nice to have this filtering capability. |
Hello, I'm trying to implemente something to be able to search process by 2 criterias.
I would like do a good implementation of this feature without breaking change but it's verry difficult. I think that this feature will do :
Thanks for ideas to do a good feature... |
Hello, |
Same issue here, i am waiting for a release. |
@kohonen, @reminder84, @julien64140, @tguenneguez please test the binary in PR #14948 with the new |
Good morning, Sorry, but I just read the code already.
I would replace "wildcards" with "glob" ? Why use "process_names" and not "names" ? I find your code very well done and I can't wait to test it. Thanks |
@tguenneguez would you care to clarify the readme? I guess I'm a bit blind due to working on this for quite some time, so I'm likely not seeing ambiguous text segments...
I used this to be more specific as "names" is very general. Can you come up with some better naming?
Sorry I'm not getting this... :-( |
I started from the principle that we are on a plugin which supervises the processes so if we put the name, it is logically that of a process.
the second part is to say if we change process_names to names, then name becomes ambiguous. hence the idea of renaming it by identifying |
@tguenneguez I merged the initial support, feel free to create a PR to improve things! |
Relevant telegraf.conf:
System info:
telegraf-1.11.1-1.x86_64
influxdb-1.7.7-1.x86_64
CentOS Linux release 7.6.1810 (Core)
Steps to reproduce:
the telegraf github page show way more fields and tags for the procstat_lookup measurement than we can see. tried to change pid_tag = true/false, no success
Expected behavior:
we need at least the 'user' tag in order to differentiate between the 2 java processes (elasticsearch+logstash)
Actual behavior:
The text was updated successfully, but these errors were encountered: