getsentry / getsentry/sentry-javascript

Performance Monitoring for Web Streams (`Response` API)

Abierto
#9,633 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Core Improvement Spans
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.