Forráskód Böngészése

fix: enable opentelemetry tracing on async workers via sqs/sns automation

Karol Sójko 1 éve
szülő
commit
0a90502658

+ 1 - 0
packages/domain-events-infra/src/Infra/OpenTelemetry/OpenTelemetrySDK.ts

@@ -60,6 +60,7 @@ export class OpenTelemetrySDK implements OpenTelemetrySDKInterface {
         new ExpressInstrumentation(),
         new AwsInstrumentation({
           suppressInternalInstrumentation: true,
+          sqsExtractContextPropagationFromPayload: true,
         }),
         new TypeormInstrumentation({
           collectParameters: false,