From 4a5da1a4c0d4be36a83243bebe4b49022f51ec56 Mon Sep 17 00:00:00 2001 From: Lucas Duarte Date: Thu, 24 Oct 2024 03:50:43 -0300 Subject: [PATCH] Updated TRPC OpenTelemetry Middleware example to utilize tracing --- TRPC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TRPC.md b/TRPC.md index 25e9388..9e71413 100644 --- a/TRPC.md +++ b/TRPC.md @@ -23,5 +23,5 @@ const t = initTRPC.context().create({ }); // add the middleware to all the procedures you want to trace -export const publicProcedure = t.procedure.use(trpcTracingMiddleware({ collectInput: true })) +export const publicProcedure = t.procedure.use(tracing({ collectInput: true })) ```