getsentry / getsentry/sentry-javascript

Use tail workers to send Sentry events

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

描述

### Problem Statement

Right now the events are send directly inside the users worker and increases at least the network requests to Sentry

### Solution Brainstorm

Using a [tail worker](https://developers.cloudflare.com/workers/observability/logs/tail-workers/) where the events are getting send to Sentry could offload at least the network requests to Sentry.

We would also retrieve additional events, which would not be captured on the worker level.

### Additional Context

It would need some investigation if there would be any benefits performance wise.

### Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.

贡献指南

打开贡献指南

调研方向

Start by locating where Sentry events are sent directly from the users worker, then review the linked Cloudflare tail workers documentation. Investigate whether moving delivery changes performance and which additional events become available. Done should include a decided and validated approach for tail-worker-based event delivery.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
observability-sre
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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