-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http profiling: fix mount of default http mux as a subroute (#359)
This adds a new config option --httpprofprefix to specify the URL path prefix for the HTTP profiler. For example, given -p --httpprofprefix "/pp", the http hander will be available at: /pp/debug/pprof/ Note that the "/debug/pprof/ part is not changeable, and the trailing slash is required. But this path may be hidden via the prefix.
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters