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(browser): Disable standalone http.client spans #11879

Merged
merged 1 commit into from
May 3, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented May 3, 2024

Since there seem to be issues around this in the backend/UI today, we decided to not send these for now. We may revisit this later...

I left the code to send this in for now, so we can revert this more easily if needed.

@mydea mydea requested review from phacops, cleptric, lforst and Lms24 May 3, 2024 07:36
@mydea mydea self-assigned this May 3, 2024
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.

What a mess :(
(not your PR for the record 😅 )

Copy link
Contributor

github-actions bot commented May 3, 2024

size-limit report 📦

Path Size
@sentry/browser 21.65 KB (+0.01% 🔺)
@sentry/browser (incl. Tracing) 32.67 KB (-0.04% 🔽)
@sentry/browser (incl. Tracing, Replay) 68.01 KB (-0.04% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.41 KB (-0.04% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 72.05 KB (-0.03% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) 84.18 KB (-0.12% 🔽)
@sentry/browser (incl. Feedback) 37.69 KB (-0.39% 🔽)
@sentry/browser (incl. sendFeedback) 26.21 KB (-0.87% 🔽)
@sentry/browser (incl. FeedbackAsync) 30.77 KB (-0.65% 🔽)
@sentry/react 24.33 KB (+0.01% 🔺)
@sentry/react (incl. Tracing) 35.63 KB (-0.04% 🔽)
@sentry/vue 25.48 KB (+0.01% 🔺)
@sentry/vue (incl. Tracing) 34.46 KB (-0.04% 🔽)
@sentry/svelte 21.78 KB (+0.01% 🔺)
CDN Bundle 24.03 KB (+0.01% 🔺)
CDN Bundle (incl. Tracing) 34.04 KB (-0.05% 🔽)
CDN Bundle (incl. Tracing, Replay) 67.7 KB (-0.04% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) 72.82 KB (-0.33% 🔽)
CDN Bundle - uncompressed 70.64 KB (+0.01% 🔺)
CDN Bundle (incl. Tracing) - uncompressed 100.93 KB (-0.08% 🔽)
CDN Bundle (incl. Tracing, Replay) - uncompressed 210.54 KB (-0.04% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.58 KB (-0.3% 🔽)
@sentry/nextjs (client) 34.86 KB (-0.04% 🔽)
@sentry/sveltekit (client) 33.23 KB (-0.04% 🔽)
@sentry/node 138.72 KB (+0.01% 🔺)

Since there seem to be issues around this in the backend/UI today, we decided to not send these for now. We may revisit this later...
@mydea mydea force-pushed the fn/no-standalone-http-client-spans branch from 1953981 to ba33408 Compare May 3, 2024 07:57
@mydea mydea merged commit d2b7df4 into develop May 3, 2024
98 checks passed
@mydea mydea deleted the fn/no-standalone-http-client-spans branch May 3, 2024 08:34
Lms24 added a commit that referenced this pull request May 10, 2024
…rent span (#11974)

We introduced sending standalone `http.client` spans in
#11783. Subsequently,
we had to revert this change due to internal timeline problems (😢).
However, in the revert PR (#11879) we missed that originally, we checked
for an active parent span and only then created an `http.client` span.
The result were `http.client` _transactions_ which we also don't want.
This patch fixes that by re-introducing the `hasParent` check as it was
pre-#11783.
andreiborza pushed a commit that referenced this pull request May 16, 2024
…rent span (#11974)

We introduced sending standalone `http.client` spans in
#11783. Subsequently,
we had to revert this change due to internal timeline problems (😢).
However, in the revert PR (#11879) we missed that originally, we checked
for an active parent span and only then created an `http.client` span.
The result were `http.client` _transactions_ which we also don't want.
This patch fixes that by re-introducing the `hasParent` check as it was
pre-#11783.
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