Sentry-javascript: [raven-node] Domain Module Deprecated

Created on 12 Jun 2018  路  5Comments  路  Source: getsentry/sentry-javascript

All 5 comments

We'll stick with domain in new SDK as well, as they are not going away soon.

What if the context was portable?

[We] are working on making this happen soon, in the next major release.

@kamilogorek I thought the new Sentry for Node was going to move to some sort of portable context, so we didn't have to use domains if we didn't want to?

@jdrydn we provide all the necessary tools for anyone to make it happen if they are not willing to use domains. domain is used only when requestHandler is attached (eg. in express app)

to some sort of portable context, so we didn't have to use domains if we didn't want to

There's hub and scope for handling the context, which can be used to achieve literally anything end-user needs when it comes to custom event data:

Let me know if you have any specific questions and I can definitely help you with them.

@kamilogorek Just came across passing context directly in the Sentry docs, which (pretty much) solves all my problems! I'll be deprecating my Vedette library as soon as I've rotated it out of production 馃殌

@jdrydn

Vedette: A mounted sentry positioned beyond an army's outposts to observe the movements of the enemy.

Love the name! :D

Was this page helpful?
0 / 5 - 0 ratings