We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65487c6 commit 2b44889Copy full SHA for 2b44889
netty/src/main/java/io/grpc/netty/NettyClientHandler.java
@@ -508,6 +508,7 @@ public void channelActive(ChannelHandlerContext ctx) throws Exception {
508
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
509
try {
510
logger.fine("Network channel is closed");
511
+ tcpMetrics.channelInactive(ctx.channel());
512
Status status = Status.UNAVAILABLE.withDescription("Network closed for unknown reason");
513
lifecycleManager.notifyShutdown(status, SimpleDisconnectError.UNKNOWN);
514
final Status streamStatus;
0 commit comments