Skip to content

[API Proposal]: PinnedBlockMemoryPool metrics #61594

Open
@BrennanConroy

Description

@BrennanConroy

Background and Motivation

Add metrics to the PinnedBlockMemoryPool that's used by Kestrel, IIS, and Http.Sys.

Proposed API

System.Buffers.PinnedBlockMemoryPool

Name Instrument Type Unit Description
pinnedblockmemorypool.current_memory UpDownCounter {bytes} Number of bytes that are currently pooled by the pinned block memory pool.
Name Instrument Type Unit Description
pinnedblockmemorypool.total_allocated Counter {bytes} Total number of allocations made by the pinned block memory pool.
Name Instrument Type Unit Description
pinnedblockmemorypool.evicted_memory Counter {bytes} Total number of bytes that have been evicted.
Name Instrument Type Unit Description
pinnedblockmemorypool.usage_rate Counter {bytes} Rate of bytes rented from the pool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-ready-for-reviewAPI is ready for formal API review - https://github.com/dotnet/apireviewsarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions