Wristwatches use something similar for securing straps to watch cases and they are called "spring bars". But they will be at most 2mm in diameter and 24mm long.I believe he's looking to source a small tube with two spring-loaded ends, and NOT looking to measure anything.
He's probably just trying to figure out what to search on McMaster-Carr or similar for off the shelf parts.
Brian
Edit:
I see things like "spring plungers" might be a useful term....... maybe add double ended?!?
Ha, that I cannot say. I am designing something new and innovative for my guitars.Question is what do you want it for?