mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
e299b71988
Summary: As mentioned in D20629833, adding metrics for live imports in `eden top` gives more transparency to the imports process and makes identifying import related issues easier. This is set up to expose metrics for live imports like those for pending imports in `eden top`. Similar to D20611728 exposing this via these counters will log this data. Having this data persisted will allow tracking the performance of imports, and does the set up for more pro-active fixing of issues. Further we can look back to see issues that are no longer occurring, but still of interest. This also refactors the registration code so that it requires no copy pasting to add a new counter. Avoiding copy paste errors when adding more counters and making it easier to maintain. Reviewed By: chadaustin Differential Revision: D20630813 fbshipit-source-id: 8a7a2a0135c7b7a5cde960b84dcb434c6c99eaeb |
||
---|---|---|
.. | ||
oss | ||
test | ||
.gitignore | ||
CMakeLists.txt | ||
eden.thrift | ||
EdenCPUThreadPool.cpp | ||
EdenCPUThreadPool.h | ||
EdenError.cpp | ||
EdenError.h | ||
EdenInit.cpp | ||
EdenInit.h | ||
EdenMain.cpp | ||
EdenMain.h | ||
EdenServer.cpp | ||
EdenServer.h | ||
EdenServiceHandler.cpp | ||
EdenServiceHandler.h | ||
EdenStateDir.cpp | ||
EdenStateDir.h | ||
fb-edenfs@.service | ||
PeriodicTask.cpp | ||
PeriodicTask.h | ||
PrettyPrinters.cpp | ||
PrettyPrinters.h | ||
StartupLogger.cpp | ||
StartupLogger.h | ||
streamingeden.thrift | ||
Systemd.cpp | ||
Systemd.h | ||
ThriftPermissionChecker.cpp | ||
ThriftPermissionChecker.h | ||
ThriftUtil.h |