-
Notifications
You must be signed in to change notification settings - Fork 448
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
Custom CRD: Wait for all processes before running metrics collector #1313
Custom CRD: Wait for all processes before running metrics collector #1313
Conversation
968b157
to
c485517
Compare
/lgtm |
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.
/approve
c485517
to
62aae3d
Compare
@johnugeorge @gaocegege Can you approve this PR again, please? |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich, gaocegege The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Related: #1214.
I refactored metrics collector to wait for all other process to finish before running parser.
I had to switch to
gopsutil
library to identify which process is the main and try to be consistent with Pythonpsutil
lib.I search for
echo completed > /var/log/katib
in PID'scmdline
to find the main PID./assign @gaocegege @johnugeorge @sperlingxx