Basic grammar may tell you the hey is an interjection. when used to specifically address a person (or an audience,) as in your example, the hey there is a vocative adjunct with an interpersonal.