import * as sentry from "https://deno.land/x/sentry@7.92.0/index.mjs";
Classes
The Sentry Deno SDK Client. | |
c Hub | |
Holds additional event information. Scope.applyToEvent will be called by the client before an event will be sent. |
Variables
The | |
Functions
Records a new breadcrumb which will be attached to future events. | |
Add an event processor to the current client. This event processor will run for all events processed by this client. | |
Add a EventProcessor to be kept globally. | |
Create a cron monitor check in and send it to Sentry. | |
Captures a manually created event and sends it to Sentry. | |
Captures an exception event and sends it to Sentry. This accepts an event hint as optional second parameter. Alternatively, you can also pass a CaptureContext directly as second parameter. | |
Captures a message event and sends it to Sentry. | |
Call | |
Callback to set context information onto the scope. | |
Creates an instance of a Sentry | |
Call | |
Returns the currently active span. | |
Grabs active transaction off scope, if any | |
Get the currently active client. | |
Returns the default hub instance. | |
Get the currently active scope. | |
Get the global scope. This scope is applied to all events. | |
This will create a new Hub and add to the passed object on SENTRY.hub. | |
Get the currently active isolation scope. The isolation scope is active for the current exection context, meaning that it will remain stable for the same Hub. | |
f init | The Sentry Deno SDK Client. |
This is the getter for lastEventId. | |
Replaces the current main hub with the passed one on the global object | |
Runs the supplied callback in its own async context. Async Context strategies are defined per SDK. | |
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. | |
Adds a measurement to the current active transaction. | |
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. | |
Converts a HTTP status code into a SpanStatusType. | |
Creates a span. This span is not set as active, so will not get automatic instrumentation spans
as children or be able to be accessed via | |
Wraps a function with a transaction/span and finishes the span after the function is done.
The created span is the active span and will be used as parent by other spans created inside the function
and can be accessed via | |
Similar to | |
Starts a new | |
Wraps a function with a transaction/span and finishes the span after the function is done. | |
Wraps a callback with a cron monitor check in. The check in will be sent to Sentry when the callback finishes. | |
Creates a new scope with and executes the given operation within. The scope is automatically removed once the operation finishes or throws. |
Interfaces
JSDoc | |
JSDoc | |
Configuration options for the Sentry Deno SDK | |
JSDoc | |
JSDoc | |
JSDoc | |
Request data included in an event as sent to Sentry | |
I Span | Span holding trace_id, span_id |
JSDoc | |
JSDoc | |
JSDoc | |
Transaction "Class", inherits Span only has | |
I User | JSDoc |
Type Aliases
Options deciding what parts of the request to use when enhancing an event | |
A | |