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

Unified Diff: logdog/appengine/cmd/coordinator/vmuser/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/vmuser/main.go
diff --git a/logdog/appengine/cmd/coordinator/vmuser/main.go b/logdog/appengine/cmd/coordinator/vmuser/main.go
index 0330c26da107b44dfc4ebc079f29236be6bae9ee..560c7f34af2d33daeafeecc28047a31aada98fa9 100644
--- a/logdog/appengine/cmd/coordinator/vmuser/main.go
+++ b/logdog/appengine/cmd/coordinator/vmuser/main.go
@@ -7,6 +7,9 @@ package main
import (
"net/http"
+ // Importing pprof implicitly installs "/debug/*" profiling handlers.
+ _ "net/http/pprof"
+
"github.com/luci/luci-go/appengine/gaemiddleware"
log "github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/grpc/discovery"
« no previous file with comments | « logdog/appengine/cmd/coordinator/services/module.cfg ('k') | logdog/appengine/cmd/coordinator/vmuser/module.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698