docker-archive / deploykit

A toolkit for creating and managing declarative, self-healing infrastructure.
Apache License 2.0
2.25k stars 264 forks source link

Add pprof #899

Closed chungers closed 6 years ago

chungers commented 6 years ago

When infrakit is started in server mode (e.g. via infrakit plugin start ...) and with flag --log 5, start the pprof listener at port 6060.

Signed-off-by: David Chung david.chung@docker.com

codecov[bot] commented 6 years ago

Codecov Report

Merging #899 into master will increase coverage by 0.03%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #899      +/-   ##
==========================================
+ Coverage    48.5%   48.53%   +0.03%     
==========================================
  Files          84       84              
  Lines        7837     7837              
==========================================
+ Hits         3801     3804       +3     
+ Misses       3725     3722       -3     
  Partials      311      311
Impacted Files Coverage Δ
pkg/types/spec.go 58.4% <0%> (-1.77%) :arrow_down:
pkg/rpc/mux/server.go 47.91% <0%> (+5.2%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 067d238...c65f3f0. Read the comment docs.