Skip to content

Commit ae1928b

Browse files
committed
Enable pprof-http for vtgate and vtctld as well
Signed-off-by: Matt Lord <mattalord@gmail.com>
1 parent 3206eb0 commit ae1928b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/common/scripts/vtctld-up.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ vtctld \
3333
--port $vtctld_web_port \
3434
--grpc_port $grpc_port \
3535
--pid_file $VTDATAROOT/tmp/vtctld.pid \
36+
--pprof-http \
3637
> $VTDATAROOT/tmp/vtctld.out 2>&1 &
3738

3839
for _ in {0..300}; do

examples/common/scripts/vtgate-up.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ vtgate \
4141
--pid_file $VTDATAROOT/tmp/vtgate.pid \
4242
--enable_buffer \
4343
--mysql_auth_server_impl none \
44+
--pprof-http \
4445
> $VTDATAROOT/tmp/vtgate.out 2>&1 &
4546

4647
# Block waiting for vtgate to be listening

0 commit comments

Comments
 (0)