Closed fahimahammed closed 1 month ago
Fixed it by enabling the instrumentationHook: true,
in nextjs experimental
and then enabling the open telemetry prisma-instrumentation.
Thank you
We will be providing you with a proper fix in upcoming releases.
Describe the bug When using Prisma Optimize with Prisma ORM and following the setup instructions, the following error occurs:
To Reproduce Steps to reproduce the behavior:
@prisma/extension-optimize
and set up Prisma according to the documentation.schema.prisma
file.Expected behavior The Prisma queries should execute without errors, and performance profiling and recommendations should be available on the Prisma Optimize dashboard.
Development environment:
Prisma schema:
index.ts