Creates a new Node SDK instance.
Configuration options for this SDK.
Protected Optional Readonly_The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled.
Protected_Protected_Array of set up integrations.
Protected_Indicates whether this client's integrations have been set up.
Protected_Number of calls being processed
Protected Readonly_Options passed to the SDK.
Protected_Protected Optional Readonly_Optional ExperimentalmetricsA reference to a metrics aggregator
Note this is alpha API. It may experience breaking changes in the future.
Protected_Protected_Method responsible for capturing/ending a request session by calling incrementSessionStatusCount to increment
appropriate session aggregates bucket
Protected_Clears outcomes on this client and returns them.
Protected_Determine if the client is finished processing. Returns a promise because it will wait timeout ms before saying
"no" (resolving to false) in order to give the client a chance to potentially finish first.
Optionaltimeout: numberThe time, in ms, after which to resolve to false if the client is still busy. Passing 0 (or not
passing anything) will make the promise wait as long as it takes for processing to finish before resolving to
true.
A promise which will resolve to true if processing is already done or finishes before the timeout, and
false otherwise
Protected_Determines whether this SDK is enabled and a transport is present.
Protected_Protected_Occupies the client with processing and event
Protected_Processes an event (either error or message) and sends it to Sentry.
This also adds breadcrumbs and context information to the event. However, platform specific meta data (such as the User's IP address) must be added by the SDK implementor.
A SyncPromise that resolves with the event or rejects in case event was/will not be send.
Protected_Protected_Setup integrations for this client.
Protected_Create a cron monitor check in and send it to Sentry.
An object that describes a check in.
OptionalmonitorConfig: MonitorConfigOptionalscope: ScopeOptionallevel: Severity | SeverityLevelOptionalhint: EventHintOptionalscope: ScopeOptionalhint: BreadcrumbHintOptionallevel: Severity | SeverityLevelOptionalhint: EventHintGet all installed event processors.
Gets an installed integration by its name.
The installed integration or undefined if no integration with that name was installed.
Method that initialises an instance of SessionFlusher on Client
The Sentry Node SDK Client.
See