Skip to content
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

Stacktrace in 'debug=1' format #144

Open
pborzenkov opened this issue Apr 19, 2021 · 0 comments
Open

Stacktrace in 'debug=1' format #144

pborzenkov opened this issue Apr 19, 2021 · 0 comments

Comments

@pborzenkov
Copy link
Contributor

Hi!

I'd like to propose a feature that allows to (optionally) dump a stack track in debug=1 format. Currently agent hardcodes it to debug=2.

While debug=2 format is probably more readable, debug=1 has a rather large advantage - it includes pprof labels. This is especially handy when there are many goroutines doing similar work but handling different tasks/assignments/etc.

If there are no objections, I can probably prepare a PR. I think introducing a new command to preserve backward compatibility is the way to go here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant