Hello Heitor,
Have you considered adding a correlation_id middleware like the one in DAZN power tools?
It could work together with the logger tool by adding correlation_id to the logs automatically, and also be used by the sampling feature (the whole transaction is sampled instead of each function invoke).
Regards,
Marcio.