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
Feat: Add @sentry/tracing #2719
Conversation
ab7d985
to
14eba60
Compare
8906f3a
to
ef59276
Compare
* feat: Adjust hub for idle transaction * feat: Add IdleTransaction class * test: IdleTransaction * ref: Some uneeded code * ref: Declare class variables in constructor * chore: Cleanup set() comments
* test: remove hub.startSpan test * feat(tracing): Add BrowserTracing integration and tests * fix: defaultRoutingInstrumentation * ref: Remove static methods * multiple before finishes * ref: Routing Instrumentation * remove tracing
* ref: Make React Profiler use active transaction * ref: Make Vue Tracing using active transaction
eb3917e
to
2c88eb9
Compare
5ffffd8
to
fee0ec2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we good to merge @HazAT?
|
||
This package contains extensions to the `@sentry/hub` to enable Sentry AM related functionality. It also provides integrations for Browser and Node that provide a good experience out of the box. | ||
|
||
## Migrating from @sentry/apm to @sentry/tracing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the migration guide, does this make sense?
export { INTEGRATIONS as Integrations }; | ||
|
||
// We are patching the global object with our hub extension methods | ||
addExtensionMethods(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still have to move this into an option, but I'll save that for another PR.
Something like
Sentry.init({
extensions: [apm]
})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's deal with it on a follow up PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
Create
@sentry/tracing
. This is what I will work off as we making our refactors to theTracing
integration.I figured we should merge this in first so that we can concurrently work on it together.