mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-22 06:59:51 -05:00

The idea here is to set the parent span for incoming federation requests to the *outgoing* span on the other end. That means that you can see (most of) the full end-to-end flow when you have a process that includes federation requests. However, in order not to lose information, we still want a link to the `incoming-federation-request` span from the servlet, so we have to create another span to do exactly that.