configure_sentry: Configure Sentry

View source: R/core.R

configure_sentryR Documentation

Configure Sentry

Description

Configure Sentry

Usage

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

## Not run: 
configure_sentry("https://12345abcddbc45e49773bb1ca8d9c533@sentry.io/1234567")
sentry_env$host # sentry.io

## End(Not run)

sentryR documentation built on May 29, 2024, 8:18 a.m.