Tracing / OTEL only works with manual active spans.
I have just spent a few hours pulling my hair out to no avail. I tried to boil things down simply:
Ths code does not submit any traces to the console nor Jaeger UI:
Confusingly, if I send a manual trace, it shows up in the Jager UI. This indicates to me that something about the Prisma configuration is not working (I have followed the steps in the documentation... (1) enabled
tracing (2) placed init before any code (3) run
npx prisma generate`)
5 Replies
Hi @Julian IncrEdelman
What version of Prisma are you using? We recently released version 5.22.0 which fixed some of the bugs associated with tracing.
GitHub
Releases · prisma/prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB - prisma/prisma
5.22
Thanks for confirming, do you have a reproducible example you can share?
No. Let me see if I can get one. This is low pri but wanted to flag since I invested hours in this without avail and assume other ppl are running into it n
Thanks for raising this. The reproduction will be helpful for me to share with the engineering team so that they can take steps to fix it.