Skip to content

feat(browser): Disable standalone http.client spans#11879

Merged
mydea merged 1 commit intodevelopfrom
fn/no-standalone-http-client-spans
May 3, 2024
Merged

feat(browser): Disable standalone http.client spans#11879
mydea merged 1 commit intodevelopfrom
fn/no-standalone-http-client-spans

Conversation

@mydea
Copy link
Copy Markdown
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 Lms24, cleptric, lforst and phacops May 3, 2024 07:36
@mydea mydea self-assigned this May 3, 2024
Copy link
Copy Markdown
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 😅 )

@github-actions
Copy link
Copy Markdown
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
@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