Field Hockey Ball Tracker
An accelerometer is the way to go. There will be a fair amount of math to go thru in order  to convert the acceleration value into speed. I can't explain it better than this answer.

An gyro would give you the angular rate on the ball and the magnetometer could give you the ball orientation relative to the magnetic north.