module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Jul 20, 2022
License: Apache-2.0
Opens a new window with license information.
README
¶
Prof
The web ui for golang pprof
Requirements
- golang(pprof trace)
- graphviz
How to use it
cp env.yaml.example env.yaml
go build -o prof cmd/prof/main.go
./prof -c env.yaml
Function
Batch CURL
#input
http://127.0.0.1:8201/internal/debug/pprof?seconds=5
# output
CURL: http://127.0.0.1:8201/internal/debug/pprof/threadcreate
CURL: http://127.0.0.1:8201/internal/debug/pprof/cmdline
CURL: http://127.0.0.1:8201/internal/debug/pprof/allocs
CURL: http://127.0.0.1:8201/internal/debug/pprof/profile ?seconds=5
CURL: http://127.0.0.1:8201/internal/debug/pprof/symbol
CURL: http://127.0.0.1:8201/internal/debug/pprof/trace ?seconds=5
CURL: http://127.0.0.1:8201/internal/debug/pprof/goroutine
CURL: http://127.0.0.1:8201/internal/debug/pprof/block
Directories
¶
Click to show internal directories.
Click to hide internal directories.