Compare commits
2 Commits
cf021a25c3
...
b414deb3bc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b414deb3bc | ||
|
|
1ae87d4955 |
@ -17,8 +17,6 @@ COPY --from=deb_extractor /dpkg /
|
|||||||
# Configure dot plugins
|
# Configure dot plugins
|
||||||
RUN ["dot", "-c"]
|
RUN ["dot", "-c"]
|
||||||
|
|
||||||
# Use a non-root user: slightly more secure (defense in depth)
|
|
||||||
USER nobody
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
EXPOSE 7443
|
EXPOSE 7443
|
||||||
ENTRYPOINT ["/pprofweb"]
|
ENTRYPOINT ["/pprofweb"]
|
||||||
|
|||||||
14
README.md
14
README.md
@ -1,16 +1,22 @@
|
|||||||
# PProf Web UI
|
# PProf Web UI
|
||||||
|
|
||||||
This is a hacky experiment that serves the [Go pprof profiler web UI](https://github.com/google/pprof). You can upload pprof files then view them without installing anything. See [my blog post for some additional details](https://www.evanjones.ca/pprofweb.html).
|
[Go pprof profiler web UI](https://github.com/google/pprof).
|
||||||
|
|
||||||
Try it: https://pprofweb.evanjones.ca/
|
You can upload pprof files then view them without installing anything.
|
||||||
|
|
||||||
|
|
||||||
|
you can also share these profiles with other people
|
||||||
|
|
||||||
|
|
||||||
|
Try it: https://pprof.aaaaa.news
|
||||||
|
|
||||||
|
|
||||||
## Run Locally
|
## Run Locally
|
||||||
|
|
||||||
docker build . --tag=pprofweb
|
docker build . --tag=pprofweb
|
||||||
docker run --rm -ti --publish=127.0.0.1:8080:8080 pprofweb
|
docker run --rm -ti -p 7443:7443 pprofweb
|
||||||
|
|
||||||
Open http://localhost:8080/
|
Open http://localhost:7443/
|
||||||
|
|
||||||
|
|
||||||
## Check that the container works
|
## Check that the container works
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user