Skip to content

Commit

Permalink
chore: remove record log and turn on dbm propagation (#2285)
Browse files Browse the repository at this point in the history
Co-authored-by: KishenKumarrrrr <[email protected]>
  • Loading branch information
KishenKumarrrrr and KishenKumarrrrr authored Nov 21, 2024
1 parent dc3368b commit 3ccb15a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/email/utils/callback/parsers/ses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ const blacklistIfNeeded = async (message: any): Promise<void> => {
const parseRecord = async (record: SesRecord): Promise<void> => {
logger.info({
message: 'Parsing SES callback record',
record,
})
const message = JSON.parse(record.Message)
const smtpApiHeader = getSmtpApiHeader(message)
Expand Down
1 change: 1 addition & 0 deletions shared/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 3ccb15a

Please sign in to comment.