Sensors for monitoring of pump conditions