Package reactor.netty.channel
Class MicrometerChannelMetricsHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
reactor.netty.channel.AbstractChannelMetricsHandler
reactor.netty.channel.MicrometerChannelMetricsHandler
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler,ChannelOutboundHandler
ChannelHandler for collecting metrics on protocol level.
This class is based on ChannelMetricsHandler, but it utilizes Micrometer's Observation.- Since:
- 1.1.0
- Author:
- Marcin Grzejszczak, Violeta Georgieva
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Method Summary
Methods inherited from class reactor.netty.channel.AbstractChannelMetricsHandler
channelActive, channelInactive, channelRead, channelRegistered, exceptionCaught, recordException, recordRead, recordWrite, writeMethods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Method Details
-
connectMetricsHandler
- Specified by:
connectMetricsHandlerin classAbstractChannelMetricsHandler
-
tlsMetricsHandler
- Specified by:
tlsMetricsHandlerin classAbstractChannelMetricsHandler
-
recorder
- Specified by:
recorderin classAbstractChannelMetricsHandler
-