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
The guide about OTEL and Prisma is awesome btw https://www.prisma.io/docs/concepts/components/prisma-client/opentelemetry-tracing
Prisma
OpenTelemetry tracing (Preview)
Diagnose application performance with detailed traces of each query.
Hellooooooo
GitHub
node-opentelemetry/TRPC.md at main ยท baselime/node-opentelemetry
Instrument node.js applications with open telemetry - baselime/node-opentelemetry
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
Niiiice, thanks @Thomas Ankcorn
Let me know how you get on ๐