parse_dsn: Parse a Sentry DSN into its components

Description Usage Arguments Value Examples

View source: R/core.R

Description

Parse a Sentry DSN into its components

Usage

1
parse_dsn(dsn)

Arguments

dsn

the DSN of a Sentry project.

Value

a named list with parsed elements of the DSN

Examples

1
parse_dsn("https://1234@sentry.io/1")

Example output

$dsn
[1] "https://1234@sentry.io/1"

$protocol
[1] "https"

$public_key
[1] "1234"

$ignore
[1] NA

$secret_key
[1] NA

$host
[1] "sentry.io"

$project_id
[1] "1"

sentryR documentation built on March 20, 2020, 1:09 a.m.