Rheology of complex fluids with vibrating fiber-optic sensors