@Override
  public void channelActive(ChannelHandlerContext ctx) throws Exception {
    logger.trace("Channel Active {}", ctx.channel().remoteAddress());
    metrics.connectionsConnectedCount.inc();
    openConnections.incrementAndGet();
    logHandshakeStatus(ctx);
    super.channelActive(ctx);
  }
Handler that tracks connection establishment statistics.
ambry-rest/src/main/java/com/github/ambry/rest/ConnectionStatsHandler.java