View Source ErrorTracker.Web.Router (ErrorTracker v0.2.0)

ErrorTracker UI integration into your application's router.

Summary

Functions

Creates the routes needed to use the ErrorTracker web interface.

Functions

Link to this macro

error_tracker_dashboard(path, opts \\ [])

View Source (macro)

Creates the routes needed to use the ErrorTracker web interface.

It requires a path in which you are going to serve the web interface.

Security considerations

Errors may contain sensitive information so it is recommended to use the on_mount option to provide a custom hook that implements authentication and authorization for access control.

Options

  • on_mount: a list of mount hooks to use before invoking the dashboard LiveView views.

  • as: a session name to use for the dashboard LiveView session. By default it uses :error_tracker_dashboard.