Collector. Breadcrumbs
(collector v0.1.1)
Copy Markdown
What a process did just before it crashed: its last 50 log lines (info
and above), plus Ecto queries for the repos in config :collector, repos: [[:my_app, :repo]] (their telemetry prefixes).
Kept in each process's own dictionary, so recording one costs nothing shared, and a crash report, logged by the crashing process itself, finds its own.
Summary
Functions
Records a breadcrumb in the current process.
Starts recording queries of the given Ecto repo telemetry prefixes.
A breadcrumb from its parts, timestamped now unless given.
The current process's breadcrumbs, oldest first.
Functions
Records a breadcrumb in the current process.
Starts recording queries of the given Ecto repo telemetry prefixes.
A breadcrumb from its parts, timestamped now unless given.
The current process's breadcrumbs, oldest first.