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

feat(profiling) use continuous profiler instead of the span/txn based one #161

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Jun 18, 2024

We want to start ingesting some profiles from a production env using the new continuous profiler

@JonasBa JonasBa force-pushed the jb/chartcuterie/continuous-profiler branch from 66e46bf to f4f5919 Compare June 18, 2024 18:15
src/instrument.ts Outdated Show resolved Hide resolved
src/instrument.ts Outdated Show resolved Hide resolved

if(profilingIntegration) {
// @ts-expect-error this is purposefuly not exposed by the SDK for now
profilingIntegration._profiler.start();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting, this doesn't require a profilesSampleRate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we actually rely on it not being set. It's a bit weird from the API pov, but we dont want to apply the sampling rate per chunk.

JonasBa and others added 2 commits June 18, 2024 14:59
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
@JonasBa JonasBa merged commit fca45cf into master Jun 18, 2024
6 checks passed
@JonasBa JonasBa deleted the jb/chartcuterie/continuous-profiler branch June 18, 2024 19:02
JonasBa added a commit that referenced this pull request Jun 19, 2024
… one (#161)

* feat(profiling) use continuous profiler instead

* Update src/instrument.ts

Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>

* Update src/instrument.ts

Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>

---------

Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
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.

2 participants