Commit d4e2799
authored
feat: Always stream INP and remove standalone v1 spans (#22517)
INP is now always emitted as a v2 web vital span. With span streaming
enabled it rides the streaming pipeline as before. With span streaming
disabled (`traceLifecycle: 'static'`) INP overrides the static lifecycle
for itself and still streams, because it reports late and would
otherwise be dropped as a late child with nothing to carry it.
The bundle size increase is due to the bytes that now have to live in
core without being tree-shaken which re-uses some of the stuff gen_ai
uses to send out independent v2 spans. It's only a few bytes, the
browser bundle savings are more significant.
Note that there is still a bunch of `standalone` references, those are
needed to skip the span from becoming its own transaction in static
lifecycles, it can be removed once we drop those in v12.1 parent c6e3775 commit d4e2799
50 files changed
Lines changed: 823 additions & 1762 deletions
File tree
- dev-packages
- browser-integration-tests/suites
- public-api/startSpan
- standalone-mixed-transaction
- standalone-sdk-disabled
- standalone
- tracing
- browserTracingIntegration/standalone-without-baggage
- metrics
- web-vitals-inp-late
- web-vitals-inp-parametrized-late
- web-vitals-inp-parametrized
- web-vitals-inp
- e2e-tests/test-applications
- react-17/tests
- react-router-6/tests
- react-router-7-spa/tests
- react-router-8-spa/tests
- packages
- browser-utils
- src
- metrics
- test/metrics
- browser
- src/integrations
- test/integrations
- core
- src
- tracing
- spans
- types
- utils
- test/lib
- tracing
- utils
- types/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| 345 | + | |
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| |||
Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 0 additions & 132 deletions
This file was deleted.
dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-sdk-disabled/init.js
Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-sdk-disabled/test.ts
Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 59 deletions
This file was deleted.
0 commit comments