GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(tracing): Report dropped spans for transactions by mydea · Pull Request #12751 · getsentry/sentry-javascript

Conversation

@mydea

@mydea mydea commented Jul 4, 2024

Copy link
Copy Markdown
Member

We already report a client report for dropped standalone spans. However, so far we did not report any for spans dropped for transactions.

This PR also emits a client report when beforeSendSpan is used to filter a span of a transaction, as well as when the whole transaction is dropped in beforeSendTransaction.

For now, we do not emit this if users manually drop single spans in e.g. beforeSendTransaction, which I'd say is OK for now.

Closes #12727

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mydea
fix: Report dropped spans for transactions
1ec9c35
@mydea
mydea requested review from AbhiPrasad, chargome, lforst and s1gr1d July 4, 2024 09:03
@mydea mydea self-assigned this Jul 4, 2024
@github-actions

github-actions Bot commented Jul 4, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
@sentry/browser 22.27 KB (+0.21% 🔺)
@sentry/browser (incl. Tracing) 33.42 KB (+0.14% 🔺)
@sentry/browser (incl. Tracing, Replay) 69.17 KB (+0.07% 🔺)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.5 KB (+0.09% 🔺)
@sentry/browser (incl. Tracing, Replay with Canvas) 73.23 KB (+0.07% 🔺)
@sentry/browser (incl. Tracing, Replay, Feedback) 85.84 KB (+0.06% 🔺)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.71 KB (+0.06% 🔺)
@sentry/browser (incl. metrics) 26.56 KB (+0.21% 🔺)
@sentry/browser (incl. Feedback) 38.91 KB (+0.14% 🔺)
@sentry/browser (incl. sendFeedback) 26.89 KB (+0.17% 🔺)
@sentry/browser (incl. FeedbackAsync) 31.5 KB (+0.15% 🔺)
@sentry/react 25.01 KB (+0.19% 🔺)
@sentry/react (incl. Tracing) 36.47 KB (+0.13% 🔺)
@sentry/vue 26.38 KB (+0.19% 🔺)
@sentry/vue (incl. Tracing) 35.28 KB (+0.13% 🔺)
@sentry/svelte 22.4 KB (+0.21% 🔺)
CDN Bundle 23.48 KB (+0.23% 🔺)
CDN Bundle (incl. Tracing) 35.17 KB (+0.14% 🔺)
CDN Bundle (incl. Tracing, Replay) 69.26 KB (+0.07% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) 74.46 KB (+0.07% 🔺)
CDN Bundle - uncompressed 68.92 KB (+0.18% 🔺)
CDN Bundle (incl. Tracing) - uncompressed 103.94 KB (+0.12% 🔺)
CDN Bundle (incl. Tracing, Replay) - uncompressed 214.33 KB (+0.06% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 227.04 KB (+0.06% 🔺)
@sentry/nextjs (client) 36.35 KB (+0.13% 🔺)
@sentry/sveltekit (client) 34.06 KB (+0.14% 🔺)
@sentry/node 130.74 KB (+0.04% 🔺)
@sentry/node - without tracing 91.75 KB (+0.05% 🔺)
@sentry/aws-serverless 116.93 KB (+0.04% 🔺)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chargome
chargome approved these changes Jul 4, 2024
View reviewed changes
@mydea mydea changed the title fix: Report dropped spans for transactions fix(tracing): Report dropped spans for transactions Jul 4, 2024
@mydea
mydea merged commit ef7e5b6 into develop Jul 4, 2024
@mydea
mydea deleted the fn/span-client-report branch July 4, 2024 11:12
@q1blue q1blue mentioned this pull request Jul 27, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.15.0 https-quantumblockchainai-atlassian-net/ossinsight#783
Open
@amykapernick amykapernick mentioned this pull request Jul 27, 2024
[Snyk] Upgrade @sentry/nextjs from 8.14.0 to 8.15.0 amykapernick/wedding#11
Open
@aam-digital-ci aam-digital-ci mentioned this pull request Jul 27, 2024
[Snyk] Upgrade @sentry/browser from 8.13.0 to 8.15.0 Aam-Digital/ndb-core#2482
Closed
This was referenced Jul 30, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.16.0 https-quantumblockchainai-atlassian-net/ossinsight#787
Open
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.17.0 https-quantumblockchainai-atlassian-net/ossinsight#791
Open
@amykapernick amykapernick mentioned this pull request Aug 1, 2024
[Snyk] Upgrade @sentry/nextjs from 8.14.0 to 8.17.0 amykapernick/wedding#12
Open
@wkylin wkylin mentioned this pull request Aug 1, 2024
[Snyk] Upgrade @sentry/react from 8.15.0 to 8.17.0 wkylin/pro-react-admin#370
Closed
@q1blue q1blue mentioned this pull request Aug 6, 2024
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.18.0 https-quantumblockchainai-atlassian-net/ossinsight#799
Open
@wkylin wkylin mentioned this pull request Aug 7, 2024
[Snyk] Upgrade @sentry/react from 8.15.0 to 8.18.0 wkylin/pro-react-admin#371
Merged
@krystofwoldrich krystofwoldrich mentioned this pull request Aug 13, 2024
backport(tracing): Report dropped spans for transactions #13343
Merged
@krystofwoldrich krystofwoldrich mentioned this pull request Aug 27, 2024
Report dropped spans in client reports getsentry/sentry-capacitor#693
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chargome chargome chargome approved these changes
@lforst lforst Awaiting requested review from lforst
@AbhiPrasad AbhiPrasad Awaiting requested review from AbhiPrasad
@s1gr1d s1gr1d Awaiting requested review from s1gr1d

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@mydea mydea

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Report dropped spans in client reports

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mydea @chargome
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.