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

Add full MongoDB queries to query spans #24463

Open
aqrln opened this issue Jun 7, 2024 · 0 comments
Open

Add full MongoDB queries to query spans #24463

aqrln opened this issue Jun 7, 2024 · 0 comments
Labels
domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. kind/improvement An improvement to existing feature and code. tech/engines Issue for tech Engines. topic: mongodb topic: tracing

Comments

@aqrln
Copy link
Member

aqrln commented Jun 7, 2024

The db.statement attribute of the prisma:engine:db_query span only contains a stub of the raw query without the arguments:
image
The full query (like we have in logs) would've been nice (and necessary for proper MongoDB support in Optimize).

@aqrln aqrln added kind/improvement An improvement to existing feature and code. tech/engines Issue for tech Engines. domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. topic: mongodb topic: tracing labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. kind/improvement An improvement to existing feature and code. tech/engines Issue for tech Engines. topic: mongodb topic: tracing
Projects
None yet
Development

No branches or pull requests

1 participant