From 3ccb15ab208496779f0f147cab02c67e626a12a6 Mon Sep 17 00:00:00 2001 From: Kishen Kumar Date: Thu, 21 Nov 2024 09:02:02 +0800 Subject: [PATCH] chore: remove record log and turn on dbm propagation (#2285) Co-authored-by: KishenKumarrrrr --- backend/src/email/utils/callback/parsers/ses.ts | 1 - shared/src/tracing.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/email/utils/callback/parsers/ses.ts b/backend/src/email/utils/callback/parsers/ses.ts index 80e98b43b..44269a160 100644 --- a/backend/src/email/utils/callback/parsers/ses.ts +++ b/backend/src/email/utils/callback/parsers/ses.ts @@ -225,7 +225,6 @@ const blacklistIfNeeded = async (message: any): Promise => { const parseRecord = async (record: SesRecord): Promise => { logger.info({ message: 'Parsing SES callback record', - record, }) const message = JSON.parse(record.Message) const smtpApiHeader = getSmtpApiHeader(message) diff --git a/shared/src/tracing.ts b/shared/src/tracing.ts index 55c941712..9616ca8fb 100644 --- a/shared/src/tracing.ts +++ b/shared/src/tracing.ts @@ -10,6 +10,7 @@ const ENABLE_PROFILING_FOR_20_PER_CENT = RANDOM_NUMBER_MAX_100 <= 20 // 20% chan export function init() { tracer.init({ profiling: ENABLE_PROFILING_FOR_20_PER_CENT, + dbmPropagationMode: 'full', }) tracer.use('http', { client: {