Tax 'income' ramifications of rebalancing investments

This year I sold off 30K of a stock ETF (that appreciated about 10K from when I first bought it a few years ago). I then quickly reinvested the proceeds into a bond ETF. Does the full 30K proceeds of the sale still count as 'income' that will raise my tax bracket and reduce my Covered CA health care benefits? Or perhaps do only the 10K capital gains count as 'income'? Or does it not count as ANY 'income' because I reinvested it all?