Sensor for measuring frequency

PaulRB:
So, is it allowed to attach anything to the pipe? E.g tiny magnets or mirrors...

Yes. O.D. of the tube is 3mm.