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

Unified Diff: logdog/appengine/cmd/coordinator/services/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
Index: logdog/appengine/cmd/coordinator/services/main.go
diff --git a/logdog/appengine/cmd/coordinator/services/main.go b/logdog/appengine/cmd/coordinator/services/main.go
index f520562f4a1e96f912c27f0b0ef581ea3dbca542..7319d9b14c683f91990a809efd1957d2c0a7c2e3 100644
--- a/logdog/appengine/cmd/coordinator/services/main.go
+++ b/logdog/appengine/cmd/coordinator/services/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/grpc/prpc"
registrationPb "github.com/luci/luci-go/logdog/api/endpoints/coordinator/registration/v1"
« no previous file with comments | « logdog/appengine/cmd/coordinator/backend/module.cfg ('k') | logdog/appengine/cmd/coordinator/services/module.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698