private void Handle(ConnectionPoolOpenedEvent @event)
        {
            var serverPackage = GetServerPackage(@event.ServerId.EndPoint);
            ConnectionPoolPerformanceRecorder recorder = new ConnectionPoolPerformanceRecorder(@event.ConnectionPoolSettings.MaxConnections, _appPackage, serverPackage);

            if (_connectionPoolRecorders.TryAdd(@event.ServerId, recorder))
            {
                recorder.Opened();
            }
        }
        public void ConnectionPoolAfterOpening(ServerId serverId, ConnectionPoolSettings settings)
        {
            var serverPackage = GetServerPackage(serverId.EndPoint);
            ConnectionPoolPerformanceRecorder recorder = new ConnectionPoolPerformanceRecorder(settings.MaxConnections, _appPackage, serverPackage);

            if (_connectionPoolRecorders.TryAdd(serverId, recorder))
            {
                recorder.Opened();
            }
        }