Title: Add Option to ignore `mark` and `measure` spans · Issue #16441 · getsentry/sentry-javascript · GitHub
Open Graph Title: Add Option to ignore `mark` and `measure` spans · Issue #16441 · getsentry/sentry-javascript
X Title: Add Option to ignore `mark` and `measure` spans · Issue #16441 · getsentry/sentry-javascript
Description: Problem Statement Today, the browserTracingIntegration always emits spans for performance.mark() as well as performance.measure() spans. However, there are some reasons as to why users don't always want these spans: some extensions (e.g....
Open Graph Description: Problem Statement Today, the browserTracingIntegration always emits spans for performance.mark() as well as performance.measure() spans. However, there are some reasons as to why users don't always...
X Description: Problem Statement Today, the browserTracingIntegration always emits spans for performance.mark() as well as performance.measure() spans. However, there are some reasons as to why users don't al...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/16441
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Option to ignore `mark` and `measure` spans","articleBody":"### Problem Statement\n\nToday, the `browserTracingIntegration` always emits spans for [`performance.mark()`](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark) as well as [`performance.measure()`](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure) spans. However, there are some reasons as to why users don't always want these spans:\n\n* some extensions (e.g. grammarly) or libraries (e.g. Sentry 😅) emit these entries on their own which are not really useful data points for our users. \n* In some cases, these 3rd-party-emitted values even led to skewing of the entire trace duration because the duration was set incorrectly\n* ultimately, these spans increase user quota and with our recent move away from dropping individual spans retroactively, there's no convenient way for users to filter these out. \n\n### Solution Brainstorm\n\nAnalogously to #16389 for `resource` spans, we should expose an option to ignore `mark` and `measure` spans. ","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2025-06-02T08:43:57Z","url":"https://github.com/getsentry/sentry-javascript/issues/16441"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:99248fa8-11b1-0f29-a181-e8fbfb5960e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC90:3D009F:116CFE0:17D4A9D:6B072F40 |
| html-safe-nonce | 6ea087a4f914d5eb37ace14ee09855e574354d394ce3d047c9268a243ab36568 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzkwOjNEMDA5RjoxMTZDRkUwOjE3RDRBOUQ6NkIwNzJGNDAiLCJ2aXNpdG9yX2lkIjoiMTM3OTk4NzI3MDQ3MTcyNDg2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f646ce6fb77647e30adb303726d58c635f3f5edc6c7f996077383826a4092be |
| hovercard-subject-tag | issue:3109204138 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/16441/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cdffbc961317950c005fe4b3ce8a57378312ab9245e348c9ccecc0dd042d3c36/getsentry/sentry-javascript/issues/16441 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cdffbc961317950c005fe4b3ce8a57378312ab9245e348c9ccecc0dd042d3c36/getsentry/sentry-javascript/issues/16441 |
| og:image:alt | Problem Statement Today, the browserTracingIntegration always emits spans for performance.mark() as well as performance.measure() spans. However, there are some reasons as to why users don't always... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a73ca0a5164c4669446bdffe239b0d7542ad735e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width