couchbaselabs / cbft

*THIS PROJECT HAS MOVED* from couchbaselabs TO: https://github.com/couchbase/cbft -- no further development will be done here on couchbaselabs/cbft
Other
27 stars 5 forks source link

cbft's REST api that can download cbft itself #181

Open steveyen opened 8 years ago

steveyen commented 8 years ago

One of the debugging/diagnostic tips from a go SF meetup was that it's useful to have the ability for clients to be able to download the server program, so that it's easy for analysis tools like pprof to work (so that your pprof dump can be matched up to the exact executable that you're running on the server).

In more detail, the tip was to add a http.FileServer, maybe export '/' or something.