getsentry / getsentry/sentry-javascript

Performance Monitoring for Web Streams (`Response` API)

Đang mở
#9,633 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Core Improvement Spans
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.