Pprof handlers behind admin page

22 views
Skip to first unread message

Shaunak Godbole

unread,
Aug 14, 2017, 7:28:51 PM8/14/17
to google-appengine-go
Hi,

We are trying to add the pprof handlers to our app engine project: https://golang.org/src/net/http/pprof/pprof.go.  Everything works fine and we can use 'go tool pprof' to generate heap profiles.  However, I would like to put it behind an admin login.  Putting this behind an admin prevents 'go tool' for accessing the profiles.

Is there a way to do this?

Thanks!
Shaunak
Reply all
Reply to author
Forward
0 new messages