getsentry / getsentry/sentry-javascript

Performance Monitoring for Web Streams (`Response` API)

未关闭
#9,633 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Core Improvement Spans
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。