I think in Germany or at least Berlin we use a special type of fresh water shrimp. Their legs (I think) vibrate and if the water quality changes, the vibration changes. Those are measured by a laser attached to a learning software which then raises the alarm. Very interesting to know other cities use a similar although different method!