sapling/lib/blackbox
Thomas Orozco 1147c48791 clienttelemetry: log peer name to blackbox
Summary:
This updates clienttelemetry to log the peer name to the hg blackbox (on every
connection). This might make it easier to understand which host a given hg is
connecting to even if we can't get to its logs (e.g. in our external sync
processes, we are capturing output to match it for errors, so it's not trivial
to get the remote hostname even with clienttelemetry.announceremotehostname.

It's possible to retrieve the peer name with e.g.: ` hg blackbox --pattern '{"clienttelemetry": "_"}'`

Reviewed By: ikostia

Differential Revision: D17808834

fbshipit-source-id: 5c8afca6bd8b3bbbf14ec8d8efb3f9b1f6b25986
2019-10-09 06:19:44 -07:00
..
benches blackbox: buffer writes 2019-06-26 11:03:26 -07:00
serde_alt blackbox: add a proc macro library to rewrite serde attributes 2019-06-07 20:06:03 -07:00
src clienttelemetry: log peer name to blackbox 2019-10-09 06:19:44 -07:00
Cargo.toml replace std::sync{Mutex, RwLock, Condvar} with parking_lot 2019-09-13 15:16:57 -07:00