File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Shared/Buffers.MemoryPool Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,22 +23,22 @@ public PinnedBlockMemoryPoolMetrics(IMeterFactory meterFactory)
2323
2424 _currentMemory = _meter . CreateUpDownCounter < long > (
2525 "aspnetcore.memorypool.current_memory" ,
26- unit : "{bytes} " ,
26+ unit : "By " ,
2727 description : "Number of bytes that are currently pooled by the pool." ) ;
2828
2929 _totalAllocatedMemory = _meter . CreateCounter < long > (
3030 "aspnetcore.memorypool.total_allocated" ,
31- unit : "{bytes} " ,
31+ unit : "By " ,
3232 description : "Total number of allocations made by the pool." ) ;
3333
3434 _evictedMemory = _meter . CreateCounter < long > (
3535 "aspnetcore.memorypool.evicted_memory" ,
36- unit : "{bytes} " ,
36+ unit : "By " ,
3737 description : "Total number of bytes that have been evicted." ) ;
3838
3939 _totalRented = _meter . CreateCounter < long > (
4040 "aspnetcore.memorypool.total_rented" ,
41- unit : "{bytes} " ,
41+ unit : "By " ,
4242 description : "Total number of rented bytes from the pool." ) ;
4343 }
4444
You can’t perform that action at this time.
0 commit comments