simple wrapper for google/pprof to run as webserver
- left column shows list of profiles stored on the server
- new profiles can be uploaded using dialog box on the top left
- clicking on red "x" deletes profile file from server
- clone this repo
- run make dev to start server
- default server port is 8080 and is accessible at url http://localhost:8080 in any browser
$ ./pprof-webserver --help
Usage of ./pprof-webserver:
-debug
enable debug logs
-port string
server listen port (default "8080")
-storage string
path to directory containing profile files (default "data")
- binary
make static
- docker image
docker build -t pprof-server:v1 .
- command line
$ ./pprof-webserver -port 8080
- docker image
docker run -it -p 8080:8080 pprof-server:v1
Current implementation does not have kind of auth implementation, if you are deploying to the internet use a reverse proxy to secure the endpoint.