Nebo15 / sage

A dependency-free tool to run distributed transactions in Elixir, inspired by Sagas pattern.
MIT License
912 stars 40 forks source link

Add support for function and mfa for tracing #71

Closed ulissesalmeida closed 2 years ago

ulissesalmeida commented 2 years ago

As discussed on #70, it would be nice to give more flexbility to control their tracing functions.

Here's a rough implementation of the idea. It add supports for function and mfa to keep it consistent with transaction and compensation.

AndrewDryga commented 2 years ago

One little documentation thing and LGTM

AndrewDryga commented 2 years ago

This looks great ❤️. Can you run the master branch for some time? I'll release the new version once you confirm it works good for you guys

ulissesalmeida commented 2 years ago

Sure, we'll do this week or next, and I'll let you know

ulissesalmeida commented 2 years ago

@AndrewDryga Just letting you know, we're using this change for since the PR creation, all good!

Thank you for accepting this change ❤️