getsentry / getsentry/sentry-javascript

Cloudflare Workers support relational database integrations

Đang mở
#16,249 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Cloudflare Workers support talking to various databases using [Cloudflare Hyperdrive](https://developers.cloudflare.com/hyperdrive/) for example.

Currently only postgres and mysql are supported with the following drivers:

- https://developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/#supported-drivers
- https://developers.cloudflare.com/hyperdrive/examples/connect-to-mysql/#supported-drivers

Most of these drivers already have integrations via the Node.js package.

### Solution Brainstorm

Allow the various (relevant) Node.js database integrations to be available in Cloudflare workers.

As it looks `mysql`, `mysql2` and `pg` is supported in the Node.js SDK (https://docs.sentry.io/platforms/javascript/guides/node/tracing/instrumentation/automatic-instrumentation/), they should (?) also work in a workers environment and with Hyperdrive make sense.

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.