So good you found out what was causing you so many issues. I'm not sure if I could go keto myself. I've been looking more and more at paleo, though.
My husband worked with a guy who had diabetes and his medication was costing him so much that he looked into alternatives and went keto. He lost a lot of weight and was able to come off his medication completely.