Electric.Telemetry.Sentry (electric v1.6.2)

Copy Markdown View Source

Summary

Types

Extra entries for the Sentry.LoggerHandler config map (e.g. :discard_threshold, :sync_threshold). Merged over the defaults at install time.

Types

handler_opts()

@type handler_opts() :: [{atom(), term()}]

Extra entries for the Sentry.LoggerHandler config map (e.g. :discard_threshold, :sync_threshold). Merged over the defaults at install time.

Functions

add_logger_handler(id \\ :electric_sentry_handler, opts \\ [])

@spec add_logger_handler(atom(), handler_opts()) :: :ok | {:error, term()}

default_handler_id()

set_tags_context(tags)

@spec set_tags_context(keyword()) :: :ok