pprofweb/README.md

45 lines
769 B
Markdown

# PProf Web UI
[Go pprof profiler web UI](https://github.com/google/pprof).
You can upload pprof files then view them without installing anything.
you can also share these profiles with other people
Try it: https://pprof.tuxpa.in
## cli tool
install with `go install tuxpa.in/a/pprofweb@latest`
```
Usage: pprofweb <command>
Flags:
-h, --help Show context-sensitive help.
Commands:
profile (p,prof) <url>
run a profile and upload
upload (u,up) <file>
upload a file
Run "pprofweb <command> --help" for more information on a command.
```
## Run Locally
docker build . --tag=pprofweb
docker run --rm -ti -p 7443:7443 pprofweb
Open http://localhost:7443/
## Check that the container works
docker run --rm -ti --entrypoint=dot pprofweb