* chore: Add Sentry perf tracing * Just to build * perf: Add Sentry perf tracing * Removed the extra integrations tracing config * Got spans working * Now only tracing individual endpoints * Removed check for booking event type * Fixed types * Added back for spans * Consolidate sentry imports * Added more traces * Moved the start of the span
7 lines
336 B
TypeScript
7 lines
336 B
TypeScript
import { wrapApiHandlerWithSentry } from "@sentry/nextjs";
|
|
|
|
import { createNextApiHandler } from "@calcom/trpc/server/createNextApiHandler";
|
|
import { highPerfRouter } from "@calcom/trpc/server/routers/viewer/highPerf/_router";
|
|
|
|
export default wrapApiHandlerWithSentry(createNextApiHandler(highPerfRouter), "/api/trpc/highPerf/[trpc]");
|