Skip to content

Commit 6040cba

Browse files
authored
Apply suggestions from code review
1 parent 145105c commit 6040cba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Shared/Buffers.MemoryPool/MemoryPoolMetrics.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ public MemoryPoolMetrics(IMeterFactory meterFactory)
3030
_pooledMemoryCounter = _meter.CreateUpDownCounter<long>(
3131
PooledMemoryName,
3232
unit: "By",
33-
description: "Number of bytes currently held by the memory pool and available for reuse.");
33+
description: "Number of bytes currently pooled and available for reuse.");
3434

3535
_allocatedMemoryCounter = _meter.CreateCounter<long>(
3636
AllocatedMemoryName,
3737
unit: "By",
38-
description: "Total number of allocations made by the memory pool.");
38+
description: "Total number of bytes allocated by the memory pool. Allocation occurs when a memory rental request exceeds the available pooled memory.");
3939

4040
_evictedMemoryCounter = _meter.CreateCounter<long>(
4141
EvictedMemoryName,
4242
unit: "By",
43-
description: "Total number of bytes that have been evicted from the memory pool.");
43+
description: "Total number of bytes evicted from the memory pool. Eviction occurs when idle pooled memory is reclaimed.");
4444

4545
_rentedMemoryCounter = _meter.CreateCounter<long>(
4646
RentedMemoryName,

0 commit comments

Comments
 (0)