By the description of the symptoms and your past medical history, this may have been an attack of gout
by uric acid; however also in the differential would be an infection of the leg such as a cellulits. It seems that you are taking medications to address both possibilities and things are getting better, so press on with your doctor's recommendations.
Dr Brenes-Salazar MD
Mayo Clinic MN