You don't say why you are replacing the glass level gauge but I assume it's due to a remote readout requirement.
Anyway, a good solution for this would be a Magnetic level gauge, the advantage being you have a clean and visible display, you can fit it to the existing connections and you can...