grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.86k stars 586 forks source link

Provide debug info in docker images #3407

Open simonswine opened 2 months ago

simonswine commented 2 months ago

Today I had found it fairly limiting not being able to use dlv in one of our production instances.

I propose to either:

korniltsev commented 2 months ago

I was under impression it does not work well on non debug (i.e. no -gcflags="all=-N -l" ) binaries Did you ever use it on non debug binaries? I like the idea of having separate debug files. In the past I've deployed a custom debug image couple of times in gl dev cluster for debugger (gdb :smile: ) usage purposes.

korniltsev commented 1 month ago

Maybe this should be a separate issue, but I'l just dump it here. Just had some ideas for debugger experience improvements: