Skip to content

Cloudflare Workers support relational database integrations #16249

Closed

Description

@stayallive

Problem Statement

Cloudflare Workers support talking to various databases using Cloudflare Hyperdrive for example.

Currently only postgres and mysql are supported with the following 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.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on May 12, 2025
  2. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on May 13, 2025
  3. mydea commented on Oct 23, 2026

    @mydea
    Member

    Database drivers used via Hyperdrive (pg, postgres, mysql, mysql2, and more) are now traced automatically on Workers when building with the @sentry/cloudflare/vite plugin (#21967, #24386). Exporting the integrations so their options can be configured is tracked in #25575. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions