I believe it depends on several things.

Early in a tournament you may want to raise all in to be safe and drive everyone else out.

Later in a tournament, you may have to consider your stack size compared the highest stack size likely to call. If you have a HUGE stack size, than just calling may be a good decision. If you are covered, going all-in may be a better decision.

In ring games, stack size, and how much money in your pocket you have matter more. Again, with a huge stack size, just calling would be ok. If you can afford to lose and still pay comfortably, just calling would be a good idea. A smaller stack size would probably want to go all in to protect himself alittle more.

At these stakes, people will call two all-ins with TT, JJ, QQ, KK and AK. I think you did fine.