Skip to content

Commit

Permalink
Modify pprof report format (#154)
Browse files Browse the repository at this point in the history
* modify socketTimeout to 120s

* add regular match

* support rc + Pessimistic

* revert Fix pessimistic commit wait error

* revert revert

* modify pprof report path format
  • Loading branch information
aressu1985 authored Oct 11, 2023
1 parent 141cfc9 commit c480d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pprof.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ ! -d ${WORKSPACE}/report/prof/${SERVER} ] ; then
mkdir ${WORKSPACE}/report/prof/${SERVER}
fi

time=`date +'%Y-%m-%d_%H:%M:%S'`
time=`date +'%Y-%m-%d_%H-%M-%S'`
mkdir -p ${WORKSPACE}/report/prof/${SERVER}/${time}
curl http://${SERVER}:${PORT}/debug/pprof/goroutine?debug=2 -o ${WORKSPACE}/report/prof/${SERVER}/${time}/goroutine.log
curl http://${SERVER}:${PORT}/debug/pprof/trace?seconds=30 -o ${WORKSPACE}/report/prof/${SERVER}/${time}/trace.out
Expand Down

0 comments on commit c480d60

Please sign in to comment.