You can add "to the teacher," but that is not necessary, and not the usual form. The other kid (and it is always kids who say this) usually knows from context who will be told. Also, kids will often just say, "I'm telling!" If there is a "to" used, it is usually "I'm telling the teacher" not "I'm telling on you to the teacher."