Tanzania is as safe as any other African country. Caution should be used at all times.
Some precautionary measures to take include but are not limited to:
Lock valuables in hotel safes.
Do not carry large quantities of cash with you.
Do not carry a lot of camera equipment.
Avoid wearing flashy jewellery.
Regularly check your government websites to see if any travel restrictions have been given.