Mypyc can optionally include logging in the generated code that produces a sampled trace of various events or operations that happen during execution. For example, you can use this to find code ...
When enable tracing on FastApi request with large incoming payload (which gets streamed as multiple chunks), the trace_id does not get reset for the next Request coming over the same http connection ...