Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry_deno/packages/core/src/index.ts

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
import * as sentryDeno from "https://deno.land/x/sentry_deno@v0.2.2/packages/core/src/index.ts";

Classes

c
BaseClient
abstract

Base implementation for all JavaScript SDK clients.

Patch toString calls to return proper name for wrapped functions

Inbound filters configurable by the user

Patch toString calls to return proper name for wrapped functions

Inbound filters configurable by the user

Holds additional event information. Scope.applyToEvent will be called by the client before an event will be sent.

Functions

Records a new breadcrumb which will be attached to future events.

Add a EventProcessor to be kept globally.

Captures a manually created event and sends it to Sentry.

Captures an exception event and sends it to Sentry.

Captures a message event and sends it to Sentry.

Callback to set context information onto the scope.

Creates an instance of a Sentry Transport

Returns the default hub instance.

Returns the envelope endpoint URL with auth in the query string.

This will create a new Hub and add to the passed object on SENTRY.hub.

Gets integration to install

Returns the url to the report dialog endpoint.

Internal function to create a new SDK client instance. The client is installed and then bound to the current scope.

Replaces the current main hub with the passed one on the global object

Sets context data with the given name.

Set key:value that will be sent as extra data with the event.

Set an object that will be merged sent as extra data with the event.

Set key:value that will be sent as tags data with the event.

Set an object that will be merged sent as tags data with the event.

Updates user context information for future events.

Starts a new Transaction and returns it. This is the entry point to manual tracing instrumentation.

Creates a new scope with and executes the given operation within. The scope is automatically removed once the operation finishes or throws.

Type Aliases

A class object that can instantiate Client objects.