From 0c744e17f91c39c446b4f9c75140a74fd1402231 Mon Sep 17 00:00:00 2001 From: KishenKumarrrrr Date: Fri, 1 Nov 2024 09:04:37 +0800 Subject: [PATCH] feat: add tracer profiling --- shared/src/tracing.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/src/tracing.ts b/shared/src/tracing.ts index 95069028d..f865f8ce0 100644 --- a/shared/src/tracing.ts +++ b/shared/src/tracing.ts @@ -5,7 +5,9 @@ import { Span } from 'opentracing' // Make it an init function so the code won't be evaluated and flagged as invalid // on frontend linting-in-background during development export function init() { - tracer.init() + tracer.init({ + profiling: true, + }) tracer.use('http', { client: { hooks: {