Make connection state metrics optional