Title: Improve instrumentation consistency and deduplicate vitals between performance<->replay · Issue #9246 · getsentry/sentry-javascript · GitHub
Open Graph Title: Improve instrumentation consistency and deduplicate vitals between performance<->replay · Issue #9246 · getsentry/sentry-javascript
X Title: Improve instrumentation consistency and deduplicate vitals between performance<->replay · Issue #9246 · getsentry/sentry-javascript
Description: Now that tracing-internal has been split out from the tracing bundle, we have a bunch of flat functions for both collecting vitals and creating performance entries. We collect LCP currently in tracing-internal package here: sentry-javasc...
Open Graph Description: Now that tracing-internal has been split out from the tracing bundle, we have a bunch of flat functions for both collecting vitals and creating performance entries. We collect LCP currently in trac...
X Description: Now that tracing-internal has been split out from the tracing bundle, we have a bunch of flat functions for both collecting vitals and creating performance entries. We collect LCP currently in trac...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9246
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve instrumentation consistency and deduplicate vitals between performance\u003c->replay","articleBody":"Now that `tracing-internal` has been split out from the tracing bundle, we have a bunch of flat functions for both collecting vitals and creating performance entries. We collect LCP currently in `tracing-internal` package here:\r\nhttps://github.com/getsentry/sentry-javascript/blob/c9aaf8b7db326e2e39254301137f6b3310abc294/packages/tracing-internal/src/browser/metrics/index.ts#L137\r\n\r\nIt should be possible now for Replay to make use of the same code instead of having separate LCP collection etc. \r\neg.\r\n https://github.com/getsentry/sentry-javascript/blob/c9aaf8b7db326e2e39254301137f6b3310abc294/packages/replay/src/util/createPerformanceEntries.ts#L145 https://github.com/getsentry/sentry-javascript/blob/c9aaf8b7db326e2e39254301137f6b3310abc294/packages/replay/src/util/dedupePerformanceEntries.ts#L53 \r\n\r\nThis may mean `tracing-internal` needs to open some hooks or check for the replay integration since replay will have specific replay-only information they may wish to append to the spans, or may wish to collect some performance information and process it further, but the actual measurement creation can now be shared.","author":{"url":"https://github.com/k-fish","@type":"Person","name":"k-fish"},"datePublished":"2023-10-13T16:49:38Z","url":"https://github.com/getsentry/sentry-javascript/issues/9246"}
| 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:618ac579-22c4-3c85-f1ef-b7b10f0defb4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2D8:36E50:9CEE5:D2F88:6B04AF88 |
| html-safe-nonce | d32ba9f70b96de4b0ef5fba8a23de5b85a4a726245a86b68d3d343bc125406e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkQ4OjM2RTUwOjlDRUU1OkQyRjg4OjZCMDRBRjg4IiwidmlzaXRvcl9pZCI6IjIyNjIxMTIxMTc4NTc3NTkxMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ee01988ca20d1f5ea848c8443340e24718b1707574bc30b93daad83ce1ef1a03 |
| hovercard-subject-tag | issue:1942280670 |
| 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/9246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e4497dcc9a2b53395affb89c4d8a2d4ed959037a752fff96feb46c26a0f4bbb/getsentry/sentry-javascript/issues/9246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e4497dcc9a2b53395affb89c4d8a2d4ed959037a752fff96feb46c26a0f4bbb/getsentry/sentry-javascript/issues/9246 |
| og:image:alt | Now that tracing-internal has been split out from the tracing bundle, we have a bunch of flat functions for both collecting vitals and creating performance entries. We collect LCP currently in trac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | k-fish |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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