-
Notifications
You must be signed in to change notification settings - Fork 58
Description
In addition to telemetry, Ash also supports built-in tracing which is similar to telemetry but can share context across processes:
https://hexdocs.pm/ash/monitoring.html
The AppSignal Tracer implementation (created/maintained by the Ash core team) is here, and looks pretty straightforward:
https://github.com/ash-project/ash_appsignal/blob/main/lib/ash_appsignal.ex
They have a suggested inclusion list of trace types here:
I'm not sure what would work best for Insights—telemetry or tracing. (For those who are unfamiliar, Honeybadger Insights uses flat events instead of child spans, with the ability to correlate context across events).
Also, here's some info about error handling in Ash:
https://hexdocs.pm/ash/error-handling.html
https://hexdocs.pm/ash/Ash.Tracer.html#c:set_error/1