Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Sentry.Dsnval sexp_of_t' : t' -> Ppx_sexp_conv_lib.Sexp.ttype t = t' optionval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval default : tdefault is the DSN determined from SENTRY_DSN in the environment (or None if it's not set or invalid)
val of_string : string -> tof_string dsn parses the given DSN and returns the resulting Sentry config. You should generally not use this function directly and should use Sentry.context (or Sentry.async_context), which looks up the DSN for you from the environment.
The DSN should look like '{PROTOCOL}://{PUBLIC_KEY}:{PRIVATE_KEY}@{HOST}/{PATH}{PROJECT_ID}'
All values except for PRIVATE_KEY are required. PROJECT_ID must be an integer. In general you should get this value from Sentry and should not construct it yourself.
Returns None if the DSN is invalid.
See docs: https://docs.sentry.io/quickstart/#about-the-dsn
val arg : t Core.Command.Arg_type.targ is a Command.Spec argument type which calls of_string
val arg_exn : t Core.Command.Arg_type.tLike arg but uses of_string_exn