configure_sentry | R Documentation |
Configure Sentry
configure_sentry(
dsn,
app_name = NULL,
app_version = NULL,
environment = NULL,
...
)
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 |
populates the .sentry_env environment with character strings
## Not run:
configure_sentry("https://12345abcddbc45e49773bb1ca8d9c533@sentry.io/1234567")
sentry_env$host # sentry.io
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.