getsentry / getsentry/sentry-javascript

Cloudflare Workers support relational database integrations

オープン
#16,249 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Feature
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
515

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。