Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Introduce FilesystemStatistics for adding runtime counters (#…
…145) Summary: X-link: facebookincubator/velox#12424 Introduce FilesystemStatistics as a free form thread-safe structure used to create populate counters based off of Velox's RuntimeMetrics. The underlying data structure is a map with key being whatever client would like and value being the RuntimeMetrics. The motivation behind this refactor is that previous PR introduced iostats into filesystems.h interface; however the iostats is specific to dwio and potentially not generic for other filesystem implementations. This PR addresses this by not using iostats and introducing `FilesystemStatistics` to serve the same purpose and also allow generic free form stats for user to add. Differential Revision: D70007870
- Loading branch information