Socket
Socket
Sign inDemoInstall

@sentry/integrations

Package Overview
Dependencies
4
Maintainers
11
Versions
384
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
decreased by-16.49%
Maintainers
11
Install size
3.44 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

Changelog

Source

7.82.0

  • feat(astro): Automatically add Sentry middleware in Astro integration (#9532)
  • feat(core): Add optional setup hook to integrations (#9556)
  • feat(core): Add top level getClient() method (#9638)
  • feat(core): Allow to pass mechanism as event hint (#9590)
  • feat(core): Allow to use continueTrace without callback (#9615)
  • feat(feedback): Add onClose callback to showReportDialog (#9433) (#9550)
  • feat(nextjs): Add request data to all edge-capable functionalities (#9636)
  • feat(node): Add Spotlight option to Node SDK (#9629)
  • feat(utils): Refactor addInstrumentationHandler to dedicated methods (#9542)
  • fix: Make full url customizable for Spotlight (#9652)
  • fix(astro): Remove Auth Token existence check (#9651)
  • fix(nextjs): Fix middleware detection logic (#9637)
  • fix(remix): Skip capturing aborted requests (#9659)
  • fix(replay): Add BODY_PARSE_ERROR warning & time out fetch response load (#9622)
  • fix(tracing): Filter out invalid resource sizes (#9641)
  • ref: Hoist RequestData integration to @sentry/core (#9597)
  • ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#9625)

Work in this release contributed by @arya-s. Thank you for your contribution!

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 27 Nov 2023

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