Ozempic deals with sugars from the food you eat, don't do much for your fasting numbers
Metformin only works on fasting numbers - no value for the foods you eat
So if your fasting numbers are trending higher then an adjustment in the metformin is required. If you are maxed out (2000 to 2550 mg/day depending on the country you live in - different max doses) then the next (treatment) would be Basil (long-acting) Insulin taken before bed
Fasting Sugar levels are not treated with the same drugs as Sugar Levels caused by what you put in your mouth
It could be your sugars are dropping at night. Your liver then releases stored sugar. Look up dawn phenomenon.