Skip to content
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

Merged
merged 24 commits into from
Mar 20, 2025

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Mar 11, 2025

Implements #15636 (comment) and deprecates the old Sentry.profiler.start and Sentry.profiler.stop calls

JonasBa added 9 commits March 11, 2025 13:28

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@JonasBa JonasBa changed the title node: add new continuous profiling API spec node: deprecate profiling API Mar 11, 2025
@JonasBa JonasBa marked this pull request as ready for review March 11, 2025 20:11
@JonasBa JonasBa requested a review from AbhiPrasad March 11, 2025 20:14
@JonasBa JonasBa changed the title node: deprecate profiling API node: implement new continuous profiling API spec Mar 13, 2025
JonasBa added 5 commits March 13, 2025 13:02
Copy link
Member

@AbhiPrasad AbhiPrasad left a 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
Copy link
Member

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.

JonasBa added 3 commits March 18, 2025 16:45
@JonasBa JonasBa merged commit 7100519 into develop Mar 20, 2025
152 checks passed
@JonasBa JonasBa deleted the jb/profiling/continuous-profiling-sv1 branch March 20, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants