[doc][refactor](metrics) Reorganize FE and BE metrics and add document (#11307)

This commit is contained in:
Mingyu Chen
2022-08-02 11:34:06 +08:00
committed by GitHub
parent 60b5ed16a8
commit abbf75d302
57 changed files with 673 additions and 991 deletions

View File

@ -32,8 +32,7 @@ void SegmentLoader::create_global_instance(size_t capacity) {
}
SegmentLoader::SegmentLoader(size_t capacity) {
_cache = std::unique_ptr<Cache>(
new_lru_cache("SegmentLoader:SegmentCache", capacity, LRUCacheType::NUMBER));
_cache = std::unique_ptr<Cache>(new_lru_cache("SegmentCache", capacity, LRUCacheType::NUMBER));
}
bool SegmentLoader::_lookup(const SegmentLoader::CacheKey& key, SegmentCacheHandle* handle) {