Hello,
These symptoms can be due to perimenopause but other causes of metrorrhagia should also be ruled out. Various factors causing it are endometriosis,ectopic pregnancy,hormone imbalance,endometrial hyperplasia,polyps,use of IUD’s and depo shots, sexually transmitted diseases,PCOS and benign and malignant pathologies of the uterus. You should get these causes evaluated from your gynecologist.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.