sapling/eden/fs
Matt Glazar 37a993bf42 Track how many HgImporter requests are made
Summary:
Sometimes, EdenFS goes bonkers and talks to 'hg debugedenimporthelper' a lot for seemingly no reason.

Make these situations easier to debug by counting how many requests EdenFS makes to 'hg debugedenimporthelper'. These counters let us answer questions such as the following:

* When performance sucks, is EdenFS is making a lot of requests or only a few requests? I.e. is Hg slow at responding or is EdenFS very demanding?
* Does a recent performance issue correlate with EdenFS communicating with 'hg debugedenimporthelper'?
* Which engineers are outliers having orders of magnitude more 'hg debugedenimporthelper' requests than p50 engineers?

We could get fancier with these counters and include the number of bytes received, the duration of the request, etc. For now, just having a request count is useful.

Reviewed By: simpkins

Differential Revision: D14677339

fbshipit-source-id: 7f8f394fb0096aef65d6a8a45d7da5936db539a0
2019-04-10 19:58:16 -07:00
..
benchharness standardize some of the benchmark infrastructure 2018-11-13 15:27:50 -08:00
config Use FileUtil APIs on Windows 2019-03-18 10:00:32 -07:00
fuse Move EdenStats into eden/fs/tracing/ 2019-04-01 17:41:57 -07:00
inodes fix a deadlock in TreeInode::createImpl() 2019-04-10 13:59:25 -07:00
journal Add assorted missing includes 2019-03-07 00:13:47 -08:00
model fix a size_t format specifier to snprintf() 2019-04-10 15:41:35 -07:00
rocksdb eden: cmake: add missing folly dep for the rocksdb component 2019-03-29 15:02:05 -07:00
service Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
sqlite avoid leaking the sqlite3 db if we fail to open it 2018-06-20 16:36:22 -07:00
store Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
takeover AsyncServerSocket::AcceptCallback::connectionAccepted to NetworkSocket (attempt #2) 2019-04-10 15:01:32 -07:00
testharness Synchronize mount+unmount 0/4: Add features to MountDelegate test helpers 2019-03-21 13:51:15 -07:00
tracing Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
utils add LazyInitialize to utils 2019-04-08 13:48:14 -07:00
CMakeLists.txt eden: add simple install rule for the cmake build 2019-03-29 15:02:04 -07:00