luci: Index | Files | Directories

package pprof

import ""

Package pprof is similar to net/http/pprof, except it supports auth.

Use it instead of net/http/pprof in LUCI server environments.

It uses temporary HMAC-based tokens (generated through admin portal) for authenticating requests. Requires a secret store to be installed in the base middleware.


Package Files

portal.go pprof.go token.go

func InstallHandlers Uses

func InstallHandlers(r *router.Router, base router.MiddlewareChain)

InstallHandlers installs HTTP handlers for pprof routes.



Package pprof imports 13 packages (graph) and is imported by 4 packages. Updated 2020-11-26. Refresh now. Tools for package owners.