Skip to content

Commit

Permalink
netty dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hujun-w-2 committed Jul 11, 2023
1 parent d0380ff commit ccba8a1
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ protected void doOpen() throws Throwable {
Map<String, Long> dataMap = new HashMap<>();
dataMap.put(MetricsKey.NETTY_ALLOCATOR_HEAP_MEMORY_USED.getName(), PooledByteBufAllocator.DEFAULT.metric().usedHeapMemory());
dataMap.put(MetricsKey.NETTY_ALLOCATOR_DIRECT_MEMORY_USED.getName(), PooledByteBufAllocator.DEFAULT.metric().usedDirectMemory());
dataMap.put(MetricsKey.NETTY_ALLOCATOR_PINNED_HEAP_MEMORY.getName(), PooledByteBufAllocator.DEFAULT.pinnedHeapMemory());
dataMap.put(MetricsKey.NETTY_ALLOCATOR_PINNED_DIRECT_MEMORY.getName(), PooledByteBufAllocator.DEFAULT.pinnedDirectMemory());
dataMap.put(MetricsKey.NETTY_ALLOCATOR_HEAP_ARENAS_NUM.getName(), (long) PooledByteBufAllocator.DEFAULT.numHeapArenas());
dataMap.put(MetricsKey.NETTY_ALLOCATOR_DIRECT_ARENAS_NUM.getName(), (long) PooledByteBufAllocator.DEFAULT.numDirectArenas());
dataMap.put(MetricsKey.NETTY_ALLOCATOR_NORMAL_CACHE_SIZE.getName(), (long) PooledByteBufAllocator.DEFAULT.normalCacheSize());
Expand Down

0 comments on commit ccba8a1

Please sign in to comment.