elixir-error-tracker / error-tracker

🐛 An Elixir-based built-in error reporting and tracking solution
https://hex.pm/packages/error_tracker
Apache License 2.0
414 stars 18 forks source link

Integrate breadcrumbs #107

Closed odarriba closed 3 days ago

odarriba commented 2 weeks ago

This change adds support for breadcrumbs as a first-class field on our occurrences.

Breadcrumbs are now a way to store a list of strings indicating in which order they were added, so they can be used to track which code was executed and on which order. They are managed per-process (which in Phoenix means per-request in general)

odarriba commented 2 weeks ago

Early review before doing docs and so on is appreciated @crbelaus can you take a look? 👀

crbelaus commented 1 week ago

I've pushed a small commit that adds a CustomException with bread crumbs so we can check how they interact with the breadcrumbs sent by ErrorTracker.add_breadcrumb/1.

odarriba commented 5 days ago

Ready to review again @crbelaus 🙌