You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ADOT nodejs layer for my lambda function(This internally uses opentelemetry-js-contrib) which receives messages from SQS. attributes section in SQS event looks like below.
@opentelemetry/instrumentation-net 0.32.4\nSpan #0\n Trace ID : 660c1247f12e5bdc1663c58843d53f49\n Parent ID : 793df25914b9005c\n ID : 6c80e6026b5d6226
Do I need additional settings/code on the lambda handler for AWSTraceHeader to be propogated to my lambda function ?
Hello Team,
I am using ADOT nodejs layer for my lambda function(This internally uses opentelemetry-js-contrib) which receives messages from SQS. attributes section in SQS event looks like below.
"attributes":{"ApproximateReceiveCount":"1","AWSTraceHeader":"Root=1-6be18c9f-da14c537235206057392a4c5;Parent=3f2b6d1e7fb5dfa5;Sampled=1","SentTimestamp":"1712067141206","SenderId":"AROA3BFWJP323VSCRBO2Z:66a19705db6549f698be35b063883238","ApproximateFirstReceiveTimestamp":"1712067141208"}
However in my lambda shows a different TraceID
@opentelemetry/instrumentation-net 0.32.4\nSpan #0\n Trace ID : 660c1247f12e5bdc1663c58843d53f49\n Parent ID : 793df25914b9005c\n ID : 6c80e6026b5d6226
Do I need additional settings/code on the lambda handler for AWSTraceHeader to be propogated to my lambda function ?
I see there is eventContextExtractor here https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-aws-lambda how can I pass this from lambda layer ?
The text was updated successfully, but these errors were encountered: