Socket
Socket
Sign inDemoInstall

@sentry/integrations

Package Overview
Dependencies
6
Maintainers
11
Versions
378
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sentry/integrations

Pluggable integrations that can be used to enhance JS SDKs


Version published
Weekly downloads
3M
increased by14.71%
Maintainers
11
Install size
4.11 MB
Created
Weekly downloads
 

Package description

What is @sentry/integrations?

The @sentry/integrations package provides a collection of official integrations for Sentry, which is an error tracking and performance monitoring platform. These integrations extend the functionality of Sentry by connecting it with other services and tools, enhancing error reporting, and providing additional context for debugging.

What are @sentry/integrations's main functionalities?

Redux Integration

This integration captures actions and state from the Redux library, providing a detailed snapshot of the application state at the time of an error.

import * as Sentry from '@sentry/react';
import { Integrations } from '@sentry/integrations';

Sentry.init({
  dsn: 'YOUR_DSN',
  integrations: [new Integrations.BrowserTracing(), new Integrations.Redux({})]
});

Vue Integration

This integration hooks into the Vue.js framework to capture errors and provide enhanced error reporting with additional context specific to Vue applications.

import * as Sentry from '@sentry/vue';
import { Integrations } from '@sentry/integrations';

Sentry.init({
  dsn: 'YOUR_DSN',
  integrations: [new Integrations.BrowserTracing()],
  Vue: Vue
});

Dedupe Integration

The Dedupe integration helps prevent sending duplicate error events to Sentry. It is useful for reducing noise and conserving event quota.

import * as Sentry from '@sentry/browser';
import { Dedupe } from '@sentry/integrations';

Sentry.init({
  dsn: 'YOUR_DSN',
  integrations: [new Dedupe()]
});

Other packages similar to @sentry/integrations

Readme

Source

Sentry

Sentry JavaScript SDK Integrations

npm version npm dm npm dt

General

Pluggable integrations that can be used to enhance JS SDKs.

All of the integrations can also be found on our CDN e.g.:

Angular integration: https://browser.sentry-cdn.com/5.0.0/angular.min.js

Please make sure to always to match the version of the integration with the version of the JS SDK you are loading.

FAQs

Last updated on 24 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc