$use replacement for tracking prisma calls per request
Hey folks, I spotted that
$use
is getting deprecated, and wondered if anyone has an alternative method for keeping track of the number of prisma calls which happen in a single request?1 Reply
The code is not particularly novel, but it does a good job of offering a scale for how many db roundtrips we make
The new metrics system, seems to largely be systems wide and not tell you which area of the code is hitting N^ problems
So, maybe I need to build a light version of the opentelemetry tracer instead