-
Notifications
You must be signed in to change notification settings - Fork 501
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
Turn profiling on/off runtime #543
Turn profiling on/off runtime #543
Conversation
@samutamm , seems two different changes are in the PR |
Co-authored-by: Yun Long <[email protected]> Co-authored-by: Bomin Zhang <[email protected]>
ff19323
to
e1b1765
Compare
Oups! Now it looks ok again |
Codecov Report
@@ Coverage Diff @@
## main #543 +/- ##
==========================================
- Coverage 80.63% 78.65% -1.99%
==========================================
Files 88 94 +6
Lines 10122 10818 +696
==========================================
+ Hits 8162 8509 +347
- Misses 1510 1823 +313
- Partials 450 486 +36
Continue to review full report at Codecov.
|
* profile api status command * start profiling endpoints * stop path * egctl profile client * Apply suggestions from code review Co-authored-by: Yun Long <[email protected]> Co-authored-by: Bomin Zhang <[email protected]> * validate profiling paths and do not modify static options * remove filepath validation and move state to profile/profile.go * error handling * use lock to synchronize concurrent modifications * change cluster level lock to profile level lock Co-authored-by: Yun Long <[email protected]> Co-authored-by: Bomin Zhang <[email protected]>
...using admin API.
Close #532