A piece of equipment used to measure rainfall is called ...?

A piece of equipment used to measure rainfall is called ...?