Stop in for a cup of coffee

Another option like they use on aircraft it is capacitance with a converter built in for ohms conversion.
Floatless Fuel Sending Unit (tanksinc.com)