getsentry / getsentry/sentry-javascript

Ensure `http` on Cloudflare Workers is supported

Đang mở
#17,556 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ả

Since very recently, Cloudflare Workers support `node:http` module, and through that many node frameworks (e.g. Express etc).

We should verify that this works with our Cloudflare SDK:

## Basic `node:http` support

* Outgoing http requests work:
* Trace propagation & breadcrumbs works
* `http.client` spans work
* Basic node server works
* Request isolation works
* Request metadata works
* `http.server` work (without parametrized routes)

## Node-based framework support

Additionally, we should also make sure that all frameworks that we support also work on Cloudflare:

* Express
* Fastify
* Koa
* Connect
* Hapi

All of these should be verified/adjusted so that:

* Error handlers work/are exported for Cloudflare
* Ideally parametrized routes work (TBD - we need to see if this is possible somhow…)

## Docs

Finally we need to make sure that this is reflected in docs.

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.