This works easily enough in the major cloud environments, since logging tends to be automatic and centralized. The only thing you need to do is make sure that a common request id or similar propagates to all the services, which is not that difficult.
I know there are solutions for this, but in the real world I have not seen it properly implemented.