Number 2 is correct. The Present Perfect Progressive (that's the tense used in the sentence) is used to refer to an action that startet at some point in the past and which still continues at the time of speaking (at the time that sentence, in this case, was uttered). The sentence means "It started to rain at 3 and it is still raining".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.