Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 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
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 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants