-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add dynamic profiling to Linkerd Rust controllers #10227
Comments
This enhancement looks interesting to me, so I would love to be a LFX mentee for this project. Please help me to get started with this issue. |
@amit-62, I'd start by looking at how this is handled for our controllers written in Go. Lines 34 to 51 in ae46678
Each controller takes a CLI argument that enables pprof. How would we do this in Rust? What would the expected end-to-end flow look like? Would it similar to Go? Also, in Go, pprof is (if I'm not wrong) exported by the http package. What would we use in Rust? Have a look at the post carefully, read through the problem statement, and come up with a thorough implementation plan. Make sure to let us know how users would interact with this feature (i.e UX) and how you would go about implementing it. |
Thank you @mateiidavid. I will start working on it. |
I want to highlight a parallel effort that is on-going, which is to build binaries with DWARF debuginfos, which would allow profilers like |
@brancz Thank you for chiming in! I caught up with oliver and he let me know that we've been putting debug-info was included with this commit: linkerd/linkerd2-proxy@adf06c4#diff-deb9bb56fb122db0b605aa5b63f95a4665c905b18dd670e1fa6c877576a94ff1R114-R121 I took a quick look at a recent release from github: https://github.com/linkerd/linkerd2-proxy/releases/tag/release%2Fv2.189.0
|
Awesome! I’ll try it! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
What problem are you trying to solve?
Enable users to dynamically profile the running application can aid significantly in debugging and diagnostics.
How should the problem be solved?
With pprof or something similar
Any alternatives you've considered?
Not at the moment.
How would users interact with this feature?
Network connection
Would you like to work on this feature?
maybe
The text was updated successfully, but these errors were encountered: