Configure Sentry

configure_sentry(
  dsn,
  app_name = NULL,
  app_version = NULL,
  environment = NULL,
  ...
)

Arguments

dsn

the DSN of a Sentry project.

app_name

name of your application (optional). Default: NULL

app_version

version of your application (optional). Default: NULL

environment

the environment name, such as production or staging (optional). Default: NULL

...

named lists as extra parameters for the Sentry payload

Value

populates the .sentry_env environment with character strings

Examples

if (FALSE) { configure_sentry("https://12345abcddbc45e49773bb1ca8d9c533@sentry.io/1234567") sentry_env$host # sentry.io }