Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry_deno/packages/types/src/index.ts>Options

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
interface Options
implements Omit<Partial<ClientOptions<TO>>, "integrations" | "transport" | "stackParser">
import { type Options } from "https://deno.land/x/sentry_deno@v0.2.2/packages/types/src/index.ts";

Base configuration options for every SDK.

Properties

optional
defaultIntegrations: false | Integration[]

If this is set to false, default integrations will not be added, otherwise this will internally be set to the recommended default integrations.

optional
integrations: Integration[] | ((integrations: Integration[]) => Integration[])

List of integrations that should be installed after SDK was initialized. Accepts either a list of integrations or a function that receives default integrations and returns a new, updated list.

optional
transport: (transportOptions: TO) => Transport

A function that takes transport options and returns the Transport object which is used to send events to Sentry. The function is invoked internally during SDK initialization. By default, the SDK initializes its default transports.

optional
stackParser: StackParser | StackLineParser[]

A stack parser implementation or an array of stack line parsers By default, a stack parser is supplied for all supported browsers