Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the raven module to use the recent @sentry/node #52

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

mgara
Copy link

@mgara mgara commented Jun 26, 2019

Updated the raven module to use the recent @sentry/node
During object initialization :
Added extra tags / user / context to the scope using Sentry.configureScope
Added a default environment (by default) tag (process.env.NODE_ENV)
During Event handling
Added extra data to the specific scope using Sentry.withScope
Added some 'unit tests'
TBD :
Update documentation


var Sentry = winston.transports.Sentry = function (options) {
const Raven = require('@sentry/node');
Copy link

@anbraten anbraten Nov 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rename Raven to Sentry and Sentry to something like SentryTransport.

@s0j0hn
Copy link

s0j0hn commented Mar 24, 2020

up ?

1 similar comment
@rbarbioni
Copy link

up ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants