it would log query times for this specific request, so that if the resolver that used this query was performing slowly, I could verify if the issue was with my Prisma request or something else.
If it turned out that my Prisma request is slow (for example with many joins in a SQL database), I could inspect the corresponding SQL query that Prisma generates, and consider alternative methods for retrieving the data I need.
Hey,
It'd be great to have more metrics tools - the ones currently live on
app.prisma.io
is not very helpfulThere are two things that'd be super awesome:
For example, if I had an app server that made a Prisma query a la
it would log query times for this specific request, so that if the resolver that used this query was performing slowly, I could verify if the issue was with my Prisma request or something else.
If it turned out that my Prisma request is slow (for example with many joins in a SQL database), I could inspect the corresponding SQL query that Prisma generates, and consider alternative methods for retrieving the data I need.