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(core)!: Remove transactionContext from samplingContext #14904

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jan 3, 2025

Removes transactionContext as it only includes duplicated data.

@s1gr1d s1gr1d requested review from mydea, AbhiPrasad and Lms24 January 3, 2025 14:37
@s1gr1d s1gr1d force-pushed the sig/remove-transactionContext branch from b4c814e to 8b83423 Compare January 3, 2025 14:40
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Good catch! Looks like we actually wanted to do this already in v8 but somehow forgot to remove it 🤔

let's add a ! to the PR title since this is still a breaking change

@s1gr1d s1gr1d changed the title feat(core): Remove transactionContext from samplingContext feat(core)!: Remove transactionContext from samplingContext Jan 3, 2025
Copy link
Contributor

github-actions bot commented Jan 3, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.01 KB - -
@sentry/browser - with treeshaking flags 21.68 KB - -
@sentry/browser (incl. Tracing) 35.52 KB -0.03% -9 B 🔽
@sentry/browser (incl. Tracing, Replay) 72.3 KB -0.02% -12 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.82 KB -0.02% -10 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 76.56 KB -0.02% -9 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 88.57 KB -0.02% -13 B 🔽
@sentry/browser (incl. Feedback) 39.23 KB - -
@sentry/browser (incl. sendFeedback) 27.64 KB - -
@sentry/browser (incl. FeedbackAsync) 32.41 KB - -
@sentry/react 25.71 KB - -
@sentry/react (incl. Tracing) 38.3 KB -0.03% -10 B 🔽
@sentry/vue 27.11 KB -0.03% -8 B 🔽
@sentry/vue (incl. Tracing) 37.26 KB -0.03% -9 B 🔽
@sentry/svelte 23.13 KB - -
CDN Bundle 24.28 KB - -
CDN Bundle (incl. Tracing) 35.81 KB -0.03% -10 B 🔽
CDN Bundle (incl. Tracing, Replay) 70.46 KB -0.01% -7 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 75.61 KB -0.02% -9 B 🔽
CDN Bundle - uncompressed 70.78 KB - -
CDN Bundle (incl. Tracing) - uncompressed 106.04 KB -0.05% -44 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed 216.87 KB -0.02% -44 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.4 KB -0.02% -44 B 🔽
@sentry/nextjs (client) 38.41 KB -0.03% -9 B 🔽
@sentry/sveltekit (client) 36.06 KB -0.05% -16 B 🔽
@sentry/node 161.71 KB -0.01% -11 B 🔽
@sentry/node - without tracing 97.48 KB +0.01% +1 B 🔺
@sentry/aws-serverless 127.35 KB -0.01% -8 B 🔽

View base workflow run

@s1gr1d s1gr1d force-pushed the sig/remove-transactionContext branch from 8b83423 to 29808e1 Compare January 7, 2025 08:46
s1gr1d and others added 3 commits January 8, 2025 10:36
# Conflicts:
#	packages/opentelemetry/src/sampler.ts
#	packages/opentelemetry/test/trace.test.ts
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.

3 participants