-
-
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
node: implement new continuous profiling API spec #15635
Conversation
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.
In a follow-up PR, could we update the node-profiling e2e tests? https://github.com/getsentry/sentry-javascript/tree/develop/dev-packages/e2e-tests/test-applications
This is just to make sure that we don't accidentally mess with the new APIs or typescript types in our different builds.
@@ -26,6 +26,8 @@ export interface BaseNodeOptions { | |||
|
|||
/** | |||
* Sets profiling sample rate when @sentry/profiling-node is installed | |||
* | |||
* @deprecated |
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 should add migration docs for this and profilesSampler
.
Implements #15636 (comment) and deprecates the old Sentry.profiler.start and Sentry.profiler.stop calls