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

This commit is contained in:
Karol Sójko 2023-10-12 10:07:55 +02:00
parent 1246af2551
commit 0a90502658
No known key found for this signature in database
GPG key ID: C2F813669419D05F

View file

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