sapling/eden/fs/store
Katie Mancini 944a471065 expose the longest outstanding import
Summary:
The primary purpose of exposing counters for the maximum length of duration is to add this to `eden top`.

As discussed in D20611704, the duration of time that imports are queued for is a strong indicator of the health of the import process. Adding it to `eden top` will help give users insight into what eden is doing when it hangs for a long time or when there is an issue, indicate whether that issue is due to the import process.

Additionally we choose to use these counters to expose this data because we want to log this data. This data can be used to measure performance of the queueing and import process. In the future this data could be used to set up alerting for regressions and allow more proactive fixes.

Reviewed By: chadaustin

Differential Revision: D20611728

fbshipit-source-id: 9307c1ad749ac5fe356ba9eaf868de41b1a8a3a7
2020-04-01 09:54:30 -07:00
..
git eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
hg expose the longest outstanding import 2020-04-01 09:54:30 -07:00
mononoke eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
test eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
BackingStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
BlobAccess.cpp make open calls from fuse high priority 2020-03-17 02:31:25 -07:00
BlobAccess.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
BlobCache.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobCache.h Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt Add BlobCache to Windows EdenMount 2020-03-10 12:27:50 -07:00
Diff.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
Diff.h add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
DiffContext.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffContext.h count fetch statistics during diff and checkout 2020-02-05 16:05:29 -08:00
eden_store_util.cpp restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
EmptyBackingStore.cpp add priority to BackingStore interface 2020-03-17 02:31:23 -07:00
EmptyBackingStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
ImportPriority.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
IObjectStore.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
IObjectStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
KeySpace.cpp bump the assertKeySpaceInvariants to a newer MSVC 2020-01-24 22:34:24 -08:00
KeySpace.h allow garbage collection of cached tree objects again 2020-01-23 17:33:43 -08:00
LocalStore.cpp add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
LocalStore.h clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
MemoryLocalStore.cpp restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
MemoryLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
ObjectStore.cpp make open calls from fuse high priority 2020-03-17 02:31:25 -07:00
ObjectStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
RocksDbLocalStore.cpp collectX to collectUnsafe 2020-03-10 11:36:09 -07:00
RocksDbLocalStore.h add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
ScmStatusDiffCallback.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ScmStatusDiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SqliteLocalStore.cpp clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
SqliteLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
StatsFetchContext.cpp log checkout type and fetch counts to scuba 2020-02-05 16:05:30 -08:00
StatsFetchContext.h log checkout type and fetch counts to scuba 2020-02-05 16:05:30 -08:00
StoreResult.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
StoreResult.h Tidy up license headers 2019-10-11 05:28:23 -07:00