Is there a public fork somewhere where I can see the skeleton for making it support multiple languages?
I've profiled .NET in k8s and think I could contribute .NET support, but I'm not sure how you want to add and call additional profiling tools in this repo. i.e., will you just add more profiling scripts to the agent Dockerfile?
Hi,
Using go pprof requires changing your code (importing net/http/pprof). kubectl-flame aims to profile without requiring code changes, so the current go implementation will be based on eBPF.
Glad you liked the tool :)
I did it in .NET Core a bit less effortlessly, by adding a sidecar with some profiling tools, adding a few environment variables to the .NET Core process, and execing into the sidecar. Instructions: [0].
I believe kubectl-flame can support .NET pretty easily since it works the same way: "Interaction with the target JVM is done via a shared /tmp folder."
I've profiled .NET in k8s and think I could contribute .NET support, but I'm not sure how you want to add and call additional profiling tools in this repo. i.e., will you just add more profiling scripts to the agent Dockerfile?