Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: logdog/appengine/cmd/coordinator/backend/main.go

Issue 2588643002: Enable AppEngine profiling endpoints. (Closed)
Patch Set: Actually use the right notation. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | logdog/appengine/cmd/coordinator/backend/module.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/appengine/cmd/coordinator/backend/main.go
diff --git a/logdog/appengine/cmd/coordinator/backend/main.go b/logdog/appengine/cmd/coordinator/backend/main.go
index c0f46691c2e04fd29a6f37f23a006dfe8666103a..f7e26cdd398a59b96222ad11bf20cf2e775916ec 100644
--- a/logdog/appengine/cmd/coordinator/backend/main.go
+++ b/logdog/appengine/cmd/coordinator/backend/main.go
@@ -7,6 +7,9 @@ package module
import (
"net/http"
+ // Importing pprof implicitly installs "/debug/*" profiling handlers.
+ _ "net/http/pprof"
+
"github.com/luci/luci-go/appengine/gaemiddleware"
"github.com/luci/luci-go/logdog/appengine/coordinator"
"github.com/luci/luci-go/server/router"
« no previous file with comments | « no previous file | logdog/appengine/cmd/coordinator/backend/module.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698