No, astrology is not part of Hinduism, but Hinduism is founded on the basis of astrology as Indian astrology. We all know that people rush to astrologers when a baby is born to make his birth chart or natal chart and choose the best name. This Janam Patri is also mentioned in various Hindu mythologies like Mahabharat.