From 38d0c6261dc65474e94feb5cfe6466e506578f8b Mon Sep 17 00:00:00 2001 From: Ankcorn Date: Wed, 13 Dec 2023 14:58:29 +0000 Subject: [PATCH] beep --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 02af90f..85d9aa2 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Trace your TRPC Applications. If you don't use OpenTelemetry yet please see [The ## Installation ```bash -npm i @baselime/node-opentelemetry +npm i @baselime/trpc-opentelemetry-middleware ``` ## Setup @@ -19,12 +19,12 @@ Add the Middleware to the procedures you want to trace ```typescript // trpc.ts -import { trpcTracingMiddleware } from "@baselime/node-opentelemetry"; +import { tracing } from "@baselime/trpc-opentelemetry-middleware"; 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 })) ```