Tlm. Event
(tlm v0.1.0)
Copy Markdown
Builds protocol v1 events (see Tlm's docs/protocol.md): plain
string-keyed maps, ready to encode as JSON.
Summary
Functions
An event for an exception (or an Erlang error, normalized the way Elixir would raise it).
An event for a message that isn't an exception. Same options.
Functions
An event for an exception (or an Erlang error, normalized the way Elixir would raise it).
Options: :kind (default :error), :level, :message,
:fingerprint, :user, :request, :request_id, :tags,
:breadcrumbs. The request id defaults to the process's Logger
metadata (Plug.RequestId sets it), so the event can be matched with
the app's own logs of the request that failed.
An event for a message that isn't an exception. Same options.