-
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
feat(inputs.procstat): Obtain process information through supervisor #13417
Conversation
Thanks so much for the pull request! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chenbt-hz for the nice feature! I have some comments in the code. Please take a look and let me know once you addressed them.
Hello, I have modified PR according to the suggestion, but I still have a few questions. The following are the main contents of my modifications this time:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good, but I think you should also implement the ChildPattern
function for the native finder...
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Forums or provide additional details in this issue and reqeust that it be re-opened. Thank you! |
Hello, I noticed that this pull request has been closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update and sorry for missing out on your update @chenbt-hz!
I do have some more small comments. Nothing too big. Can you please additionally check the unit-tests which should be adapted as we now also get childs from the native-finder...
I added the TestChildPattern function test. May I ask if that's what you're talking about? |
Sure, if you look at the
I guess it is because before the latest commits you returned |
@chenbt-hz - Were you able to look at Sven's comment about updating a test case now that you have implemented the child pattern? Thanks |
I'm sorry for my late reply. I may need your @srebhan @powersj help to solve this problem, as my free account cannot be tested in circleci until 11/01/2023. The current issue is that it is not possible to access the sub process PID number under the current testing process in circleci. However, I found that gotestsum testing was used in cricleci, so I tried to modify the code as follows, but still couldn't obtain the correct pid。
or
|
Hi, Should the pattern be the sleep or echo command? |
I have tried using the sleep or echo command but still couldn't obtain it. I'm not sure if there are unknown differences between CircleCI's environment and my local Mac environment that caused this anomaly. |
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this due to formal reasons and without the neutral view required... ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you both!
resolves #13416