Skip to content

Rewrite Prisma spans to ensure they populate Queries Insights in Sentry #11891

Closed

Description

@smeubank

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/node

SDK Version

7.x.x

Framework Version

No response

Link to Sentry event

No response

SDK Setup

Occurs in V7, but would be OK to get fixed in a V8 setup

Steps to Reproduce

Node app with any framework, using Prisma for ORM to SQL DB

Expected Result

Spans to sent to Sentry which obey the prerequisites of the queries product, and the Queries tab is populated with your queries

Actual Result

Spans are not populated correctly and they do not populate the queries tab

Activity

  1. mydea commented on May 6, 2024

    @mydea
    Member

    @smeubank is prisma a valid db.system? Clicking through to otel: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/db.md#generic-database-attributes it is not on that list, but I guess for us it is OK...?

  2. lforst commented on May 6, 2024

    @lforst
    Contributor

    gonna take care of this

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions