@sentry/node
Official Sentry SDK for Node.js
Last updated a year ago by sentry-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @sentry/node 
SYNC missed versions from official npm registry.

Sentry

Official Sentry SDK for NodeJS

npm version npm dm npm dt

Links

Usage

To use this SDK, call init(options) as early as possible in the main entry module. This will initialize the SDK and hook into the environment. Note that you can turn off almost all side effects using the respective options.

// CJS syntax
const Sentry = require('@sentry/node');
// ESM syntax
import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: '__DSN__',
  // ...
});

To set context information or send manual events, use the exported functions of @sentry/node. Note that these functions will not perform any action before you have called init():

// Set user information, as well as tags and further extras
Sentry.configureScope(scope => {
  scope.setExtra('battery', 0.7);
  scope.setTag('user_mode', 'admin');
  scope.setUser({ id: '4711' });
  // scope.clear();
});

// Add a breadcrumb for future events
Sentry.addBreadcrumb({
  message: 'My Breadcrumb',
  // ...
});

// Capture exceptions, messages or manual events
Sentry.captureMessage('Hello, world!');
Sentry.captureException(new Error('Good bye'));
Sentry.captureEvent({
  message: 'Manual',
  stacktrace: [
    // ...
  ],
});

Current Tags

  • 7.101.1                                ...           latest (10 months ago)
  • 7.80.2-alpha.1                                ...           next (a year ago)

438 Versions

  • 7.101.1                                ...           10 months ago
  • 7.101.0                                ...           10 months ago
  • 7.100.1                                ...           10 months ago
  • 7.100.0                                ...           10 months ago
  • 7.99.0                                ...           10 months ago
  • 7.98.0                                ...           a year ago
  • 7.97.0                                ...           a year ago
  • 7.96.0                                ...           a year ago
  • 7.95.0                                ...           a year ago
  • 7.94.1                                ...           a year ago
  • 7.93.0                                ...           a year ago
  • 7.92.0                                ...           a year ago
  • 7.91.0                                ...           a year ago
  • 7.90.0                                ...           a year ago
  • 7.89.0                                ...           a year ago
  • 7.88.0                                ...           a year ago
  • 7.87.0                                ...           a year ago
  • 7.86.0                                ...           a year ago
  • 7.85.0                                ...           a year ago
  • 7.84.0                                ...           a year ago
  • 7.83.0                                ...           a year ago
  • 7.82.0                                ...           a year ago
  • 7.81.1                                ...           a year ago
  • 7.81.0                                ...           a year ago
  • 7.80.2-alpha.1                                ...           a year ago
  • 7.80.2-alpha.0                                ...           a year ago
  • 7.80.1                                ...           a year ago
  • 7.80.0                                ...           a year ago
  • 7.79.0                                ...           a year ago
  • 7.78.0                                ...           a year ago
  • 7.77.0                                ...           a year ago
  • 7.76.0                                ...           a year ago
  • 7.75.1                                ...           a year ago
  • 7.75.0                                ...           a year ago
  • 7.74.2-alpha.1                                ...           a year ago
  • 7.74.2-alpha.0                                ...           a year ago
  • 7.74.1                                ...           a year ago
  • 7.74.0                                ...           a year ago
  • 7.73.0                                ...           a year ago
  • 7.72.0                                ...           a year ago
  • 7.71.0                                ...           a year ago
  • 7.70.0                                ...           a year ago
  • 7.70.0-beta.1                                ...           a year ago
  • 7.70.0-beta.0                                ...           a year ago
  • 7.69.0                                ...           a year ago
  • 7.68.0                                ...           a year ago
  • 7.67.0                                ...           a year ago
  • 7.67.0-beta.0                                ...           a year ago
  • 7.66.0                                ...           a year ago
  • 7.66.0-alpha.0                                ...           a year ago
  • 7.65.0                                ...           a year ago
  • 7.65.0-alpha.0                                ...           a year ago
  • 7.64.0                                ...           a year ago
  • 7.64.0-alpha.0                                ...           a year ago
  • 7.63.0                                ...           a year ago
  • 7.62.0                                ...           a year ago
  • 7.61.1                                ...           a year ago
  • 7.61.0                                ...           a year ago
  • 7.60.1                                ...           a year ago
  • 7.60.0                                ...           a year ago
  • 7.59.3                                ...           a year ago
  • 7.59.2                                ...           a year ago
  • 7.59.1                                ...           a year ago
  • 7.59.0-beta.1                                ...           a year ago
  • 7.59.0-beta.0                                ...           a year ago
  • 7.58.1                                ...           a year ago
  • 7.58.0                                ...           a year ago
  • 7.57.0                                ...           a year ago
  • 7.57.0-beta.0                                ...           a year ago
  • 7.56.0                                ...           a year ago
  • 7.55.2                                ...           a year ago
  • 7.55.1                                ...           a year ago
  • 7.55.0                                ...           a year ago
  • 7.54.0                                ...           2 years ago
  • 7.53.1                                ...           2 years ago
  • 7.53.0                                ...           2 years ago
  • 7.52.1                                ...           2 years ago
  • 7.52.0                                ...           2 years ago
  • 7.51.2                                ...           2 years ago
  • 7.51.1                                ...           2 years ago
  • 7.51.0                                ...           2 years ago
  • 7.50.0                                ...           2 years ago
  • 7.49.0                                ...           2 years ago
  • 7.48.0                                ...           2 years ago
  • 7.47.0                                ...           2 years ago
  • 7.46.0                                ...           2 years ago
  • 7.45.0                                ...           2 years ago
  • 7.44.2                                ...           2 years ago
  • 7.44.1                                ...           2 years ago
  • 7.44.0                                ...           2 years ago
  • 7.43.0                                ...           2 years ago
  • 7.42.0                                ...           2 years ago
  • 7.41.0                                ...           2 years ago
  • 7.40.0                                ...           2 years ago
  • 7.39.0                                ...           2 years ago
  • 7.38.0                                ...           2 years ago
  • 7.37.2                                ...           2 years ago
  • 7.37.1                                ...           2 years ago
  • 7.37.0                                ...           2 years ago
  • 7.36.0                                ...           2 years ago
  • 7.35.0                                ...           2 years ago
  • 7.34.0                                ...           2 years ago
  • 7.34.0-beta.0                                ...           2 years ago
  • 7.33.0                                ...           2 years ago
  • 7.32.1                                ...           2 years ago
  • 7.32.0                                ...           2 years ago
  • 7.31.1                                ...           2 years ago
  • 7.31.0                                ...           2 years ago
  • 7.30.0                                ...           2 years ago
  • 7.29.0                                ...           2 years ago
  • 7.28.1                                ...           2 years ago
  • 7.28.0                                ...           2 years ago
  • 7.27.0                                ...           2 years ago
  • 7.26.0                                ...           2 years ago
  • 7.25.0                                ...           2 years ago
  • 7.24.2                                ...           2 years ago
  • 7.24.1                                ...           2 years ago
  • 7.24.0                                ...           2 years ago
  • 7.23.0                                ...           2 years ago
  • 7.22.0                                ...           2 years ago
  • 7.21.1                                ...           2 years ago
  • 7.21.0                                ...           2 years ago
  • 7.20.1                                ...           2 years ago
  • 7.20.0                                ...           2 years ago
  • 7.19.0                                ...           2 years ago
  • 7.18.0                                ...           2 years ago
  • 7.17.4                                ...           2 years ago
  • 7.17.3                                ...           2 years ago
  • 7.17.2                                ...           2 years ago
  • 7.17.1                                ...           2 years ago
  • 7.17.0                                ...           2 years ago
  • 7.16.0                                ...           2 years ago
  • 7.15.0                                ...           2 years ago
  • 7.14.2                                ...           2 years ago
  • 7.14.1                                ...           2 years ago
  • 7.14.0                                ...           2 years ago
  • 7.13.0                                ...           2 years ago
  • 7.12.1                                ...           2 years ago
  • 7.12.0                                ...           2 years ago
  • 7.11.1                                ...           2 years ago
  • 7.11.0                                ...           2 years ago
  • 7.10.0                                ...           2 years ago
  • 7.9.0                                ...           2 years ago
  • 7.8.1                                ...           2 years ago
  • 7.8.0                                ...           2 years ago
  • 7.7.0                                ...           2 years ago
  • 7.6.0                                ...           2 years ago
  • 7.5.1                                ...           2 years ago
  • 7.5.0                                ...           2 years ago
  • 7.4.1                                ...           2 years ago
  • 7.4.0                                ...           2 years ago
  • 7.3.1                                ...           2 years ago
  • 7.3.0                                ...           2 years ago
  • 7.2.0                                ...           2 years ago
  • 7.1.1                                ...           3 years ago
  • 7.1.0                                ...           3 years ago
  • 7.0.0                                ...           3 years ago
  • 7.0.0-rc.0                                ...           3 years ago
  • 7.0.0-beta.2                                ...           3 years ago
  • 7.0.0-beta.1                                ...           3 years ago
  • 7.0.0-beta.0                                ...           3 years ago
  • 6.19.7                                ...           3 years ago
  • 7.0.0-alpha.1                                ...           3 years ago
  • 7.0.0-alpha.0                                ...           3 years ago
  • 6.19.6                                ...           3 years ago
  • 6.19.5                                ...           3 years ago
  • 6.19.4                                ...           3 years ago
  • 6.19.3                                ...           3 years ago
  • 6.19.2                                ...           3 years ago
  • 6.19.1                                ...           3 years ago
  • 6.19.0                                ...           3 years ago
  • 6.18.2                                ...           3 years ago
  • 6.18.1-beta.0                                ...           3 years ago
  • 6.18.1                                ...           3 years ago
  • 6.18.0                                ...           3 years ago
  • 6.17.9                                ...           3 years ago
  • 6.17.8                                ...           3 years ago
  • 6.17.8-beta.0                                ...           3 years ago
  • 6.17.7                                ...           3 years ago
  • 6.17.6                                ...           3 years ago
  • 6.17.5                                ...           3 years ago
  • 6.17.4                                ...           3 years ago
  • 6.17.3                                ...           3 years ago
  • 6.17.2                                ...           3 years ago
  • 6.17.1                                ...           3 years ago
  • 6.17.0                                ...           3 years ago
  • 6.17.0-beta.0                                ...           3 years ago
  • 6.16.1                                ...           3 years ago
  • 6.16.0                                ...           3 years ago
  • 6.15.0                                ...           3 years ago
  • 6.14.3                                ...           3 years ago
  • 6.14.2 [deprecated]           ...           3 years ago
  • 6.14.1                                ...           3 years ago
  • 6.14.0                                ...           3 years ago
  • 6.13.3                                ...           3 years ago
  • 6.13.2                                ...           3 years ago
  • 6.13.1                                ...           3 years ago
  • 6.13.0                                ...           3 years ago
  • 6.13.0-beta.3                                ...           3 years ago
  • 6.13.0-beta.2                                ...           3 years ago
  • 6.13.0-beta.1                                ...           3 years ago
  • 6.13.0-beta.0                                ...           3 years ago
  • 6.12.0                                ...           3 years ago
  • 6.12.0-beta.2                                ...           3 years ago
  • 6.12.0-beta.1                                ...           3 years ago
  • 6.11.0                                ...           3 years ago
  • 6.10.0                                ...           3 years ago
  • 6.10.0-beta.3                                ...           3 years ago
  • 6.10.0-beta.2                                ...           3 years ago
  • 6.10.0-beta                                ...           3 years ago
  • 6.9.0                                ...           3 years ago
  • 6.8.0                                ...           3 years ago
  • 6.7.2                                ...           3 years ago
  • 6.7.1                                ...           3 years ago
  • 6.7.0                                ...           3 years ago
  • 6.6.0                                ...           4 years ago
  • 6.5.1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.5.0-beta.2                                ...           4 years ago
  • 6.5.0-beta.1                                ...           4 years ago
  • 6.5.0-beta.0                                ...           4 years ago
  • 6.4.1                                ...           4 years ago
  • 6.4.0                                ...           4 years ago
  • 6.3.6                                ...           4 years ago
  • 6.3.5                                ...           4 years ago
  • 6.3.4                                ...           4 years ago
  • 6.3.4-beta.3                                ...           4 years ago
  • 6.3.4-beta.2                                ...           4 years ago
  • 6.3.4-beta.1                                ...           4 years ago
  • 6.3.4-beta.0                                ...           4 years ago
  • 6.3.3                                ...           4 years ago
  • 6.3.2                                ...           4 years ago
  • 6.3.1                                ...           4 years ago
  • 6.3.0                                ...           4 years ago
  • 6.3.0-beta.7                                ...           4 years ago
  • 6.3.0-beta.6                                ...           4 years ago
  • 6.3.0-beta.5                                ...           4 years ago
  • 6.2.5                                ...           4 years ago
  • 6.2.4                                ...           4 years ago
  • 6.2.3                                ...           4 years ago
  • 6.2.2                                ...           4 years ago
  • 6.3.0-beta.4                                ...           4 years ago
  • 6.3.0-beta.3                                ...           4 years ago
  • 6.3.0-beta.2                                ...           4 years ago
  • 6.3.0-beta.1                                ...           4 years ago
  • 6.3.0-beta.0                                ...           4 years ago
  • 6.2.1                                ...           4 years ago
  • 6.2.0                                ...           4 years ago
  • 6.1.0                                ...           4 years ago
  • 6.1.0-beta.0                                ...           4 years ago
  • 6.0.4                                ...           4 years ago
  • 6.0.3                                ...           4 years ago
  • 6.0.2                                ...           4 years ago
  • 6.0.1                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.30.0                                ...           4 years ago
  • 5.29.2                                ...           4 years ago
  • 5.29.1                                ...           4 years ago
  • 5.29.0                                ...           4 years ago
  • 5.28.0                                ...           4 years ago
  • 5.27.7-beta.0                                ...           4 years ago
  • 5.27.6                                ...           4 years ago
  • 5.27.5                                ...           4 years ago
  • 5.27.4                                ...           4 years ago
  • 5.27.3                                ...           4 years ago
  • 5.27.2                                ...           4 years ago
  • 5.27.1                                ...           4 years ago
  • 5.27.0                                ...           4 years ago
  • 5.27.0-beta.1                                ...           4 years ago
  • 5.27.0-beta.0                                ...           4 years ago
  • 5.26.0                                ...           4 years ago
  • 5.25.0                                ...           4 years ago
  • 5.25.0-beta.2                                ...           4 years ago
  • 5.25.0-beta.1                                ...           4 years ago
  • 5.25.0-beta.0                                ...           4 years ago
  • 5.24.2                                ...           4 years ago
  • 5.24.1                                ...           4 years ago
  • 5.24.0                                ...           4 years ago
  • 5.23.0                                ...           4 years ago
  • 5.22.3                                ...           4 years ago
  • 5.22.2                                ...           4 years ago
  • 5.22.1                                ...           4 years ago
  • 5.22.0                                ...           4 years ago
  • 5.21.4                                ...           4 years ago
  • 5.21.3                                ...           4 years ago
  • 5.21.2                                ...           4 years ago
  • 5.21.1                                ...           4 years ago
  • 5.21.0                                ...           4 years ago
  • 5.20.1                                ...           4 years ago
  • 5.20.0                                ...           4 years ago
  • 5.19.2                                ...           4 years ago
  • 5.19.1                                ...           4 years ago
  • 5.19.0                                ...           4 years ago
  • 5.18.1                                ...           4 years ago
  • 5.18.0                                ...           4 years ago
  • 5.17.0                                ...           5 years ago
  • 5.16.1                                ...           5 years ago
  • 5.16.0                                ...           5 years ago
  • 5.16.0-beta.5                                ...           5 years ago
  • 5.16.0-beta.4                                ...           5 years ago
  • 5.16.0-beta.3                                ...           5 years ago
  • 5.16.0-beta.2                                ...           5 years ago
  • 5.16.0-beta.1                                ...           5 years ago
  • 5.15.5                                ...           5 years ago
  • 5.15.4                                ...           5 years ago
  • 5.15.3                                ...           5 years ago
  • 5.15.2                                ...           5 years ago
  • 5.15.1                                ...           5 years ago
  • 5.15.0                                ...           5 years ago
  • 5.14.2                                ...           5 years ago
  • 5.14.1                                ...           5 years ago
  • 5.14.0                                ...           5 years ago
  • 5.13.2                                ...           5 years ago
  • 5.13.1                                ...           5 years ago
  • 5.13.0                                ...           5 years ago
  • 5.12.5                                ...           5 years ago
  • 5.12.4                                ...           5 years ago
  • 5.12.3                                ...           5 years ago
  • 5.12.2                                ...           5 years ago
  • 5.12.1                                ...           5 years ago
  • 5.12.0                                ...           5 years ago
  • 5.11.2                                ...           5 years ago
  • 5.11.1                                ...           5 years ago
  • 5.11.0                                ...           5 years ago
  • 5.10.2                                ...           5 years ago
  • 5.10.1                                ...           5 years ago
  • 5.10.0                                ...           5 years ago
  • 5.10.0-rc.0                                ...           5 years ago
  • 5.10.0-beta.4                                ...           5 years ago
  • 5.10.0-beta.3                                ...           5 years ago
  • 5.10.0-beta.2                                ...           5 years ago
  • 5.10.0-beta.1                                ...           5 years ago
  • 5.10.0-beta.0                                ...           5 years ago
  • 5.9.0                                ...           5 years ago
  • 5.8.0                                ...           5 years ago
  • 5.8.0-beta.1                                ...           5 years ago
  • 5.8.0-beta.0                                ...           5 years ago
  • 5.7.1                                ...           5 years ago
  • 5.7.0                                ...           5 years ago
  • 5.7.0-beta.1                                ...           5 years ago
  • 5.7.0-beta.0                                ...           5 years ago
  • 5.6.2                                ...           5 years ago
  • 5.6.1                                ...           5 years ago
  • 5.6.0                                ...           5 years ago
  • 5.6.0-beta.4                                ...           5 years ago
  • 5.6.0-beta.3                                ...           5 years ago
  • 5.6.0-beta.2                                ...           5 years ago
  • 5.6.0-beta.1                                ...           5 years ago
  • 5.6.0-beta.0                                ...           5 years ago
  • 5.5.0                                ...           5 years ago
  • 5.4.3                                ...           5 years ago
  • 5.4.2                                ...           5 years ago
  • 5.4.0                                ...           6 years ago
  • 5.3.0                                ...           6 years ago
  • 5.2.0                                ...           6 years ago
  • 5.2.0-beta.0                                ...           6 years ago
  • 5.1.2                                ...           6 years ago
  • 5.1.0                                ...           6 years ago
  • 5.0.8                                ...           6 years ago
  • 5.0.7                                ...           6 years ago
  • 5.0.6                                ...           6 years ago
  • 5.0.5                                ...           6 years ago
  • 5.0.3                                ...           6 years ago
  • 5.0.0                                ...           6 years ago
  • 4.6.6                                ...           6 years ago
  • 5.0.0-rc.3                                ...           6 years ago
  • 5.0.0-rc.2                                ...           6 years ago
  • 4.6.5                                ...           6 years ago
  • 5.0.0-rc.1                                ...           6 years ago
  • 5.0.0-rc.0                                ...           6 years ago
  • 4.6.4                                ...           6 years ago
  • 4.6.3                                ...           6 years ago
  • 4.6.2                                ...           6 years ago
  • 4.6.1                                ...           6 years ago
  • 4.6.0                                ...           6 years ago
  • 4.5.4                                ...           6 years ago
  • 4.5.3                                ...           6 years ago
  • 4.5.2                                ...           6 years ago
  • 4.5.1                                ...           6 years ago
  • 4.5.0                                ...           6 years ago
  • 4.4.2                                ...           6 years ago
  • 4.4.1                                ...           6 years ago
  • 4.4.0                                ...           6 years ago
  • 4.3.4                                ...           6 years ago
  • 4.3.3                                ...           6 years ago
  • 4.3.2                                ...           6 years ago
  • 4.3.1                                ...           6 years ago
  • 4.3.0                                ...           6 years ago
  • 4.2.4                                ...           6 years ago
  • 4.2.3                                ...           6 years ago
  • 4.2.2                                ...           6 years ago
  • 4.2.1                                ...           6 years ago
  • 4.2.0                                ...           6 years ago
  • 4.1.1                                ...           6 years ago
  • 4.1.0                                ...           6 years ago
  • 4.0.6                                ...           6 years ago
  • 4.0.5                                ...           6 years ago
  • 4.0.3                                ...           6 years ago
  • 4.0.1                                ...           6 years ago
  • 4.0.0                                ...           6 years ago
  • 4.0.0-rc.2                                ...           6 years ago
  • 4.0.0-rc.1                                ...           6 years ago
  • 4.0.0-rc.0                                ...           6 years ago
  • 4.0.0-beta.12                                ...           6 years ago
  • 4.0.0-beta.11                                ...           6 years ago
  • 4.0.0-beta.10                                ...           6 years ago
  • 4.0.0-beta.9                                ...           6 years ago
  • 4.0.0-beta.8                                ...           6 years ago
  • 4.0.0-beta.7                                ...           6 years ago
  • 4.0.0-beta.6                                ...           6 years ago
  • 4.0.0-beta.5                                ...           6 years ago
  • 4.0.0-beta.4                                ...           6 years ago
  • 4.0.0-beta.3                                ...           6 years ago
  • 4.0.0-beta.2                                ...           6 years ago
  • 4.0.0-beta.1                                ...           6 years ago
  • 4.0.0-beta.0                                ...           6 years ago
  • 0.5.4                                ...           7 years ago
  • 0.5.3                                ...           7 years ago
  • 0.5.2                                ...           7 years ago
  • 0.5.1                                ...           7 years ago
  • 0.5.0                                ...           7 years ago
  • 0.5.0-beta.5                                ...           7 years ago
  • 0.5.0-beta.4                                ...           7 years ago
  • 0.5.0-beta.3                                ...           7 years ago
  • 0.5.0-beta.2                                ...           7 years ago
  • 0.5.0-beta.1                                ...           7 years ago
  • 0.5.0-beta.0                                ...           7 years ago
  • 0.4.2                                ...           7 years ago
  • 0.4.1                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
  • 0.4.0-beta.7                                ...           7 years ago
  • 0.4.0-beta.6                                ...           7 years ago
  • 0.4.0-beta.5                                ...           7 years ago
  • 0.4.0-beta.4                                ...           7 years ago
  • 0.4.0-beta.3                                ...           7 years ago
  • 0.4.0-beta.2                                ...           7 years ago
  • 0.4.0-beta.1                                ...           7 years ago
  • 0.4.0-0                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 16
Last Day 0
Last Week 16
Last Month 0
Dependencies (5)
Dev Dependencies (7)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |