sentry v7.2.0 API Reference
Modules
Provides the basic functionality to submit a Sentry.Event
to the Sentry Service.
This module is the default client for sending an event to Sentry via HTTP.
This module provides the functionality for fetching configuration settings and their defaults.
Provides functionality to store user, tags, extra, and breadcrumbs context when an event is reported. The contexts will be fetched and merged into the event when it is sent.
Provides an Event Struct as well as transformation of Logger entries into Sentry Events.
This module defines a Behaviour for filtering Sentry events.
There is one callback to implement. The first argument will be
the exception reported, and the second is the source. Events
from Sentry.Plug
will have :plug as a source, Sentry.Phoenix.Endpoint
will have :endpoint
and events from Sentry.LoggerBackend
will have
:logger
as the source. A custom source can also be specified by passing
the event_source
option to Sentry.capture_exception/2
.
Specifies the API for using a custom HTTP Client.
This module makes use of Elixir 1.7's new Logger metadata to report
crashed processes. It replaces the previous Sentry.Logger
sytem.
Provides basic functionality to handle errors in a Phoenix Endpoint. Errors occurring within a Phoenix request before it reaches the Router will not be captured by Sentry.Plug
due to the internal functionality of Phoenix.
Provides basic functionality to handle Plug.ErrorHandler
This module is responsible for providing functionality that stores the text of source files during compilation for displaying the source code that caused an exception.
Provides basic utility functions.
Mix Tasks
Send test even to check if Sentry configuration is correct.