-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
A holiday bundle! #4364
A holiday bundle! #4364
Conversation
Hey, happy new year! Thanks for the PR. The maintainers are slowly getting back from vacation, but we've put this on the docket to discuss further internally. For now though, I think the |
Hey @AbhiPrasad - happy new year :) I've decided to move to OpenTelemetry as most of the features I've implemented in this branch were already available in their auto-instrumentation plugins Do you know when Sentry will begin ingesting OTel spans? Thanks! |
@mattfysh there is no timeline for Sentry ingesting Otel data, but it's on our roadmap. If you're using the Otel collector, we do have a Sentry exporter https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/sentryexporter, but that has some limitations (details in the exporter readme). |
Note: this is only a discussions PR with no intention of merging (hence no tests)
Wanted to get feedback on this PR :) primarily, which of these ideas might be worth pursuing. At the moment, I've forked 4 modules which can be difficult to work with, so the less modules that deviate from the main branch the better.
One thing I've noticed is that when Hub Branching is enabled, breadcrumbs do not appear, likely due to the heavy use of hub & scope cloning, which breaks bubbling of breadcrumbs back to the transaction - does that sound right? I noticed some discussion here: https://develop.sentry.dev/sdk/research/performance#conflicting-data-propagation-expectations
Features included:
Hub Branching
trace
in the node package (src/utils.ts
) and is a workaround for the limitation of scopes being stored in a Stack data structure (and not a Tree, that would be required to trace concurrent spans)Sentry.init({ enableHubBranching: true })
HTTP
sentry-trace
header being sent in a request, while retaining the tracing functionalityhttp.client
span, to include time to lookup hostname, and time to establish connectionAWS Lambda
domain.create
when accepting incoming HTTP messages)aws.request
op stays as the leaf span)Postgres
loadModule
which tends to break bundlers. Integration user passes in module to constructor (similar to the Express tracer)pg
package when using webpack #4099loadModule
when using PnP #4077client.connect
pg
connection, i.e.client.connect()
#4158