getsentry / getsentry/sentry-javascript

Use tail workers to send Sentry events

Đang mở
#23,081 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Cloudflare Workers Feature
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ả

### 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.

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

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

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
observability-sre
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.