jgoux
jgouxโ€ข15mo ago

tRPC and OpenTelemetry

Does anyone have experience with instrumenting tRPC with OTEL for tracing? It would be pretty neat to have an auto-instrumentation package like Prisma did : https://www.npmjs.com/package/@prisma/instrumentation
npm
@prisma/instrumentation
OpenTelemetry compliant instrumentation for Prisma Client. Latest version: 5.4.2, last published: 9 days ago. Start using @prisma/instrumentation in your project by running npm i @prisma/instrumentation. There are 17 other projects in the npm registry using @prisma/instrumentation.
6 Replies
jgoux
jgouxOPโ€ข15mo ago
Prisma
OpenTelemetry tracing (Preview)
Diagnose application performance with detailed traces of each query.
Thomas Ankcorn
Thomas Ankcornโ€ข15mo ago
Hellooooooo
Thomas Ankcorn
Thomas Ankcornโ€ข15mo ago
Thomas Ankcorn
Thomas Ankcornโ€ข15mo ago
It's not as magic as the prisma one but it works great ๐Ÿ™‚ We even add a custom icon in the ui at baselime.io
jgoux
jgouxOPโ€ข15mo ago
Niiiice, thanks @Thomas Ankcorn
Thomas Ankcorn
Thomas Ankcornโ€ข15mo ago
Let me know how you get on ๐Ÿ™‚

Did you find this page helpful?