Closed jimsynz closed 7 months ago
@zachdaniel can you provide some advice/points to how I might add this when you have some time?
There are two important parts:
whenever you would start a process you need to call a function on a provided module to
This right here would be great all on its own. But then alternatively you can also add callbacks to that module like start_span
end_span
(essentially the same callbacks that Ash.Tracer
has TBH).
Then in Ash for Ash.Reactor
we can create a Reactor.Tracer
that calls the correct Ash.Tracer
s. If you want to be extra you might also support passing tracer: {Tracer, opts}
so that we can parameterize it depending on what resource we are calling from, as sometimes tracers are added for specific actions (or at least, it could be).
Closed by #90
At the very least honour Ash's tracing configuration?