getsentry / getsentry/sentry-javascript

Support instrumenting DB spans for Prisma.js + Planetscale

Open
#13,204 1 comment 1 reaction 0 assignees View on GitHub
Feature Integration: prisma Node.js Spans
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Problem Statement

When using Prisma.js with Planescale DB spans are not instrumented, nor is their useful metadata in the planet-scale HTTP request, e.g., query structure.

### Solution Brainstorm

## Option 1 (preference)

Figure out how to emit DB spans when prisma makes calls to planescale HTTP endpoint.

## Option 2

Include additional useful information, such as query structure, in HTTP request to Planescale.

Internal Tracking: https://www.notion.so/sentry/Customer-glif-ede20c74d7de4572b683a431e450f7b4?pvs=4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.