getsentry / getsentry/sentry-javascript

cloudflare: No `tail_stream` or `trace` handler support

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

Mô tả

`withSentry` covers `fetch`, `scheduled`, `email`, `queue` and `tail`. `ExportedHandler` also allows `trace` (the older tail alias) and `tailStream` (streaming tail workers).

**Work item.** Confirm which of the two are still current in workerd, then add the missing wrapper(s) alongside `instrumentTail`.

**Prior art **getsentry/sentry-javascript#16233 added the `email`, `queue` and `tail` handlers and is the pattern to follow.

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

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

Hướng nghiên cứu

Start by locating the Cloudflare implementation of withSentry and the existing instrumentTail wrapper, then compare ExportedHandler with current workerd support for trace and tailStream. Follow the pattern from getsentry/sentry-javascript#16233 and verify that the supported missing handlers are wrapped alongside instrumentTail.

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
backend
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/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.