Swimming Pool Water Level Sensor

I have the pump running during the day and I need to measure the water level while the pump is running. If the water level start to drop, then air gets in the pump and the pressure drops.