import * as sentry from "https://deno.land/x/sentry@8.0.0-alpha.2/index.mjs";
Variables
This breadcrumbsIntegration is almost the same as the one from @sentry/browser. The Deno-version does not support browser-specific APIs like dom, xhr and history. | |
Send Console API calls as Sentry Events. | |
Deduplication filter. | |
Patch toString calls to return proper name for wrapped functions. | |
Rewrite event frames paths. | |
Use this attribute to represent the operation of a span. | |
Use this attribute to represent the origin of a span. | |
Use this attribute to represent the sample rate used for a span. | |
Use this attribute to represent the source of a span. Should be one of: custom, url, route, view, component, task, unknown | |
This function adds duration since the sessionTimingIntegration was initialized till the time event was sent. |
Functions
Records a new breadcrumb which will be attached to future events. | |
Add an event processor. This will be added to the current isolation scope, ensuring any event that is processed in the current execution context will have the processor applied. | |
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. | |
Captures a message event and sends it to Sentry. | |
Sends the current session on the scope to Sentry | |
Call | |
Creates an instance of a Sentry | |
End the session on the current isolation scope. | |
Call | |
Returns the currently active span. | |
Grabs active transaction off scope. | |
Get the currently active client. | |
Returns the default hub instance. | |
Get the currently active scope. | |
Get the default integrations for the Deno SDK. | |
Get the global scope. This scope is applied to all events. | |
Get the currently active isolation scope. The isolation scope is active for the current exection context. | |
Converts a HTTP status code into a sentry status with a message. | |
f init | The Sentry Deno SDK Client. |
Returns true if Sentry has been properly initialized. | |
Replaces the current main hub with the passed one on the global object | |
Sets context data with the given name. | |
Make the given client the current client. | |
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. | |
Sets the Http status attributes on the current span based on the http code. Additionally, the span's status is updated, depending on the http code. | |
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. | |
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 | |
Start a session on the current isolation scope. | |
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 | |
Attempts to fork the current isolation scope and the current scope based on the current async context strategy. If no async context strategy is set, the isolation scope and the current scope will not be forked (this is currently the case, for example, in the browser). | |
Wraps a callback with a cron monitor check in. The check in will be sent to Sentry when the callback finishes. | |
Set the given scope as the active scope in the callback. |
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 | A generic Span which holds trace data. |
JSDoc | |
JSDoc | |
JSDoc | |
Transaction "Class", inherits Span only has | |
I User | An interface describing a user of an application or a handled request. |
Type Aliases
Options deciding what parts of the request to use when enhancing an event | |
A | |