sapling/eden/fs/store/hg
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
..
test Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
CMakeLists.txt Use MononokeCurlBackingStore in HgBackingStore 2019-03-11 14:34:09 -07:00
hg_import_helper.py Fix hg_import_helper import path 2019-01-30 14:49:01 -08:00
HgBackingStore.cpp Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
HgBackingStore.h Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
HgImporter.cpp Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
HgImporter.h Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00
HgImportPyError.cpp include the exception type name in hg_import_helper.py errors 2017-11-15 13:31:58 -08:00
HgImportPyError.h include the exception type name in hg_import_helper.py errors 2017-11-15 13:31:58 -08:00
HgManifestImporter.cpp move folly/experimental/logging to folly/logging/ 2018-04-30 21:29:29 -07:00
HgManifestImporter.h split RocksDbLocalStore out from LocalStore 2018-02-07 11:54:16 -08:00
HgProxyHash.cpp Future<T>::then Future<T>::then() -> Future<T>::thenValue or thenTry. 2018-09-14 17:10:57 -07:00
HgProxyHash.h move HgProxyHash to its own top-level file 2018-06-14 22:02:38 -07:00
proxy_import_helper.py eden: hg_import_helper.py execs hg debugedenimporthelper 2019-02-14 22:27:00 -08:00
tester.cpp Track how many HgImporter requests are made 2019-04-10 19:58:16 -07:00