Modules
Error tracker that runs inside the host's Phoenix app.
The validated options of a running Imison instance.
Creates and upgrades Imison's tables in the host's database, one version at a time.
A way of delivering notifications, such as Imison.Notifications.Channels.Email.
Emails notifications through the host's Swoosh mailer.
Posts each notification to a Slack channel through an incoming webhook.
POSTs each notification as JSON to a URL of your choice.
The channel-neutral content of one notification, handed to a channel's
Imison.Notifications.Channel.deliver/3.
Local process storage for Imison instances.
Serves the dashboard's stylesheet, fonts and script from Imison itself.
An error's detail page (docs/design/error-detail.html): its kind,
message, location, status, occurrence count and first and last seen, then
one occurrence's stack trace, request, Logger metadata and runtime. The
occurrence is the one named by ?occurrence=<id>, or the latest when the
URL names none, names another error's occurrence or gives no number; Older
and Newer step to its neighbours by patching the URL. Panels with nothing to show are
left out, and an error without occurrences has no occurrence navigation. An
unknown id sends the developer back to the list with a message.
The error list, the dashboard's home page (docs/design/errors.html): one
tab per status with its count, a search over kind, message and location,
and the most recently seen errors first. The status and the search live in
the URL (?status=resolved&q=timeout).
The dashboard's root layout, which loads Imison's own assets, and the app
shell shared by its pages, with the markup of docs/design/.
The notifications screen (docs/design/notifications.html): one panel per
module in the channels option, then the rules, which apply to every
channel that's on (a new error, a resolved error that comes back, an error
that keeps happening, the daily summary).
URL paths of the routes of a dashboard mounted at dashboard_path with
Imison.Web.Router.imison_dashboard/2: login, logout, an error's detail
page and the notifications screen.
Mounts the dashboard in the host app's router.
Signs in to the dashboard and out of it, at <path>/login and <path>/logout
of a dashboard mounted with Imison.Web.Router.imison_dashboard/2.
The login page (docs/design/login.html): the sign-in form over a mosaic of heat cells.
Mix Tasks
Installs Imison in a Phoenix app: its config, its place in the supervision tree, the migration that creates its tables and the dashboard route.