How do you implement distributed tracing?

Technical