Cut a hole in the top of the current barrel with a hole saw and make some sort of simple float indicator which fits in it. Basically a tube going down to the bottom of the barrel, say a length of 32 mm waste pipe, then a light "stick" which fits inside the tube, say a length of pvc conduit with the bottom sealed off. When you change the barrel, drill a new hole and swap the sensor over.