Changelog
Copy Markdown0.1.0
First release.
- Reports crashes from any process through a
:loggerhandler: controllers, LiveViews, GenServers, Tasks. Exceptions Plug maps to a 4xx status (Ecto.NoResultsError, …) aren't reported, LiveView crashes included. - An error logged with a crash reason but no stacktrace (DBConnection logs each failed reconnect so) gets one frame, the call that logged it, and carries the logged line as its message and the line's plain metadata values and domain as tags.
- Error events carry the request id (
request_id, from Logger metadata, whichPlug.RequestIdsets). - Reports Oban job failures when Oban is loaded, tagged with the worker,
queue, job id, attempt, max attempts and args (secret-looking keys
filtered at any depth, cut past 2 KB of JSON;
config :tlm, oban: [args: false]leaves them out). Jobs returning{:cancel, _}or{:discard, _}aren't reported, nor{:error, _}while attempts remain;{:error, exception}is reported as that exception, and a returned error gets one frame, the worker'sperform/1. - Breadcrumbs from log lines, plus Ecto queries for configured repos, with the time spent waiting for a connection told apart.
- A dependency's frames are named from
deps/on, as in dev. - Heartbeats: one when the app starts and one every hour, with its release, environment, server, SDK and Elixir/OTP versions.
- Configured by DSN,
https://tlm_…@tlm.hullop.com, fromconfig :tlm, dsn: …or theTLM_DSNenvironment variable;:key(TLM_KEY) and:endpointwork too. An invalid DSN sends nothing and warns at boot. Tlm.Plugfor request details,Tlm.set_user/1for the user's id.mix tlm.package_sourceso releases can show source lines and find where each module is defined.mix tlm.testandTlm.test_event/0send a test event right away and report the answer.Tlm.capture_exception/2andTlm.capture_message/2.- Background sending with a bounded queue, safe retries and
Retry-Aftersupport. A refused key (401, 403) stops sending until the app restarts.