DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.12.4" />

 PooledBufferWriter

static class PooledBufferWriter
using System.Diagnostics.Metrics; namespace DotNext.Buffers { internal static class PooledBufferWriter { internal static readonly Histogram<int> AllocationMeter; static PooledBufferWriter() { AllocationMeter = new Meter("DotNext.Buffers.PooledBuffer").CreateHistogram<int>("capacity", (string)null, "Capacity"); } } }