sapling/eden/fs/service
Katie Mancini e299b71988 Explicitly track current/pending imports -- refactor and expose current metrics
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
2020-04-09 12:35:22 -07:00
..
oss split runEdenMain out from EdenMain 2020-03-26 16:19:25 -07:00
test Remove dead includes in eden 2019-10-11 16:45:01 -07:00
.gitignore watchman: pull in thrift in the oss build for eden support 2019-02-04 21:37:47 -08:00
CMakeLists.txt Moving Notifications out of Windows build 2020-02-18 16:48:28 -08:00
eden.thrift remove the deprecated debugSetLogLevel() thrift API 2020-04-06 18:53:00 -07:00
EdenCPUThreadPool.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenCPUThreadPool.h Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenError.cpp add EdenErrorType to EdenError 2019-10-29 09:23:03 -07:00
EdenError.h add EdenErrorType to EdenError 2019-10-29 09:23:03 -07:00
EdenInit.cpp add a new process to monitor EdenFS 2020-01-31 13:22:26 -08:00
EdenInit.h add a new process to monitor EdenFS 2020-01-31 13:22:26 -08:00
EdenMain.cpp add EdenServer recovery step and recover after failed takeover data send handshake 2020-04-07 09:52:21 -07:00
EdenMain.h add EdenServer recovery step and recover after failed takeover data send handshake 2020-04-07 09:52:21 -07:00
EdenServer.cpp Explicitly track current/pending imports -- refactor and expose current metrics 2020-04-09 12:35:22 -07:00
EdenServer.h Explicitly track current/pending imports -- refactor and expose current metrics 2020-04-09 12:35:22 -07:00
EdenServiceHandler.cpp enable Thrift function histograms on Windows 2020-04-09 11:30:27 -07:00
EdenServiceHandler.h remove the deprecated debugSetLogLevel() thrift API 2020-04-06 18:53:00 -07:00
EdenStateDir.cpp disable the lock validity check on Windows 2020-04-07 12:11:23 -07:00
EdenStateDir.h exit if the EdenFS lock file ever becomes invalid 2020-03-26 20:17:12 -07:00
fb-edenfs@.service set OOMScoreAdjust to -20 in systemd unit 2019-10-02 12:53:28 -07:00
PeriodicTask.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PeriodicTask.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PrettyPrinters.cpp use TEnumTraits 2020-03-27 15:27:02 -07:00
PrettyPrinters.h Tidy up license headers 2019-10-11 05:28:23 -07:00
StartupLogger.cpp enable and fix more warnings 2019-12-20 16:14:17 -08:00
StartupLogger.h Tidy up license headers 2019-10-11 05:28:23 -07:00
streamingeden.thrift Tidy up license headers 2019-10-11 05:28:23 -07:00
Systemd.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
Systemd.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftUtil.h add EdenErrorType to EdenError 2019-10-29 09:23:03 -07:00