sentry v1.1.0 Sentry.Client
Provides basic HTTP client request and response handling for the Sentry API.
Summary
Functions
Generates a Sentry API authorization header
Parses a Sentry DSN which is simply a URI
Starts an unlinked asynchronous task that will attempt to send the event to the Sentry API up to 4 times with exponential backoff
Types
parsed_dsn :: {String.t, String.t, Integer.t}
Functions
Generates a Sentry API authorization header.
Specs
send_event(%Sentry.Event{breadcrumbs: term, culprit: term, environment: term, event_id: term, exception: term, extra: term, level: term, message: term, platform: term, release: term, request: term, server_name: term, stacktrace: term, tags: term, timestamp: term, user: term}) ::
{:ok, String.t} |
:error
Starts an unlinked asynchronous task that will attempt to send the event to the Sentry API up to 4 times with exponential backoff.
The event is dropped if it all retries fail.