Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
server: add `/debug/zip` api to get useful debuginfo at once #9651
What problem does this PR solve?
when we do troubleshooting often need multiple round-trips to get info from our custom.
to save time we need the ability to get more info at once, just curl or access
What is changed and how it works?
get go pprof info in one file and maybe we can add more info in future, now after unzip we will got:
can be curl and unzip and be
@@ Coverage Diff @@ ## master #9651 +/- ## ================================================ - Coverage 67.2409% 67.1757% -0.0652% ================================================ Files 381 381 Lines 79874 79944 +70 ================================================ - Hits 53708 53703 -5 - Misses 21381 21451 +70 - Partials 4785 4790 +5