getsentry / getsentry/sentry-javascript

Performance Monitoring for Web Streams (`Response` API)

Aperta
#9,633 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Core Improvement Spans
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

This was originally raised in [https://github.com/getsentry/sentry-javascript/issues/9626]()

We currently don't track the performance of web streams well. What does count as web streams? Basically everything that returns data in chunks (probably even normal http responses too):

* Websockets
* Server Sent Events
* Video streams
* etc.

In node we do this reasonably well because we hook into `res.end()` which generally marks the end of a Stream, however, we need to improve the WinterCG case with [`Response`](). The reader [seems to have]() a `done` property on stream chunks that we could use to mark the end of the stream.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.