e29f0a2d66
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 |
||
---|---|---|
Dockerfile | ||
LICENSE | ||
README.md | ||
cloudbuild.yaml | ||
go.mod | ||
go.sum | ||
pprofweb-deploy.yaml | ||
pprofweb.go |
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
Check that the container works
docker run --rm -ti --entrypoint=dot pprofweb