Class NettyAllocatorMetrics
java.lang.Object
io.micrometer.core.instrument.binder.netty4.NettyAllocatorMetrics
- All Implemented Interfaces:
MeterBinder
MeterBinder
for Netty memory allocators.- Since:
- 1.11.0
- See Also:
-
Constructor Summary
ConstructorDescriptionNettyAllocatorMetrics
(io.netty.buffer.ByteBufAllocatorMetricProvider allocator) Create a binder instance for the given allocator. -
Method Summary
-
Constructor Details
-
NettyAllocatorMetrics
public NettyAllocatorMetrics(io.netty.buffer.ByteBufAllocatorMetricProvider allocator) Create a binder instance for the given allocator.- Parameters:
allocator
- theByteBuf
allocator to instrument
-
-
Method Details
-
bindTo
- Specified by:
bindTo
in interfaceMeterBinder
-