getsentry / getsentry/sentry-javascript

browser-integration-tests: port request and web vitals suites to span streaming

Open
#24,143 1 comment 0 reactions 1 assignee Claimed by @msonnb View on GitHub
javascript Task
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

Follow the porting recipe in the parent issue.

`http.client` and resource span names are low cardinality under streaming, and web vitals arrive as standalone streamed spans rather than as measurements on a transaction. Expect assertion shape changes, not just helper swaps.

## Suites

* `tracing/request/*` (25 pinned files)
* `tracing/metrics/*` (11 pinned files, web vitals and resource spans)
* `tracing/interactions/*`
* `tracing/user-timing/*`

## Twins to fold back

* `tracing/request`: `fetch-streamed`, `xhr-streamed`, `fetch-relative-url-streamed`, `xhr-relative-url-streamed`, `fetch-streamed-track-stream-performance`
* `tracing/metrics`: `web-vitals-lcp-streamed-spans`, `web-vitals-cls-streamed-spans`, `web-vitals-inp-streamed-spans`, `web-vitals-ttfb-streamed`, `pageload-resource-spans-streamed`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.