Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other:
Version:
6.5.1
Description
I've talked about this extensivly in #2172.
But since that issue seems to have stalled and others are also seeming to request this (see #2817 (comment)) I thought it would be nicer to open an official dedicated issue.
Why:
- Better and out of the box propper transactions and context handling.
- Should fix issues like breadcrumbs not being properly attached to the right error/transaction.
- Should fix issues of child spans not being correctly attached to the right transaction.
- Domains are deprecated and have performance and error handling issues.
- Domains don't seem to actually properly work.
Some examples of agents who do use Async Hooks:
- googleapis/cloud-trace-nodejs
- I can personally confirm this one works out of the box and does tracing correctly
- honeycombio/beeline-nodejs
- elastic/apm-agent-nodejs
- https://github.com/DataDog/dd-trace-js/tree/master/packages/dd-trace
Atm I don't see how one can use Sentry's performance offering using Node without this being fixed (unless you only serve 1 request at the same time, which isn't realistic).
I hope I'm missing something since we do want to use your offering but don't see a way of doing that at this time.