Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Prisma SQL statement output #1667

Open
KevinBusch opened this issue Jun 9, 2023 · 2 comments
Open

Request for Prisma SQL statement output #1667

KevinBusch opened this issue Jun 9, 2023 · 2 comments

Comments

@KevinBusch
Copy link

Is your feature request related to a problem? Please describe.

No. The original request was made here thought with the new New Relic release that supports Prisma queries.

Feature Description

Is there any way the data tracked could include the actual SQL statement that is executed? The output currently only shows Prisma [MODEL] [OPERATION]. It would be great if the actual SQL statement were included.

Describe Alternatives

Can't think of any

Additional context

Can't think of any

Priority

Really Want

@workato-integration
Copy link

@newrelic-node-agent-team newrelic-node-agent-team added this to Triage Needed: Unprioritized Features in Node.js Engineering Board Jun 9, 2023
@bizob2828
Copy link
Member

Hi @KevinBusch thanks for the request. We actually explored this and it was very difficult because this part is being done in a Rust package. Prisma does support this out of the box with opentelemetry spans. We built a prototype that bound these spans to the proper traces in the New Relic agent. It's not available yet though, would you be interested in trying it out when available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Node.js Engineering Board
  
Triage Needed: Unprioritized Features
Development

No branches or pull requests

2 participants