Measuring rapidity and momentum distributions of dipolar 1D quantum gases