Go to file
Evan Jones e29f0a2d66
Don't use debug base; Add pprof handlers
Add pprof web handlers mostly for testing, not because it is needed.
Dockerfile: Use the non-debug base image. Use user nobody since
    that is a bit more standard than user "nonroot"
pprofweb-deploy.yaml: Example Kubernetes configuration
2020-01-20 10:55:01 -05:00
Dockerfile Don't use debug base; Add pprof handlers 2020-01-20 10:55:01 -05:00
LICENSE initial commit 2020-01-11 15:18:50 -05:00
README.md initial commit 2020-01-11 15:18:50 -05:00
cloudbuild.yaml initial commit 2020-01-11 15:18:50 -05:00
go.mod initial commit 2020-01-11 15:18:50 -05:00
go.sum initial commit 2020-01-11 15:18:50 -05:00
pprofweb-deploy.yaml Don't use debug base; Add pprof handlers 2020-01-20 10:55:01 -05:00
pprofweb.go Don't use debug base; Add pprof handlers 2020-01-20 10:55:01 -05:00

README.md

PProf Web UI

This is a total hack to upload pprof files and serve the UI. This avoids needing to install any tools.

Try it: https://pprofweb-kgdmaenclq-uc.a.run.app/

Run Locally

docker build . --tag=pprofweb docker run --rm -ti --publish=127.0.0.1:8080:8080 pprofweb

Open http://localhost:8080/

Check that the container works

docker run --rm -ti --entrypoint=dot pprofweb