How to link distributed tracing through x-datadog-trace-id and x-datadog-parent-id? #5234
Unanswered
gabrielleandro0801
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using sqs-consumer-v3 to consume a queue on AWS, not inside a Lambda function, but on AWS EKS.
Datadog attributes are coming on the message attributes as x-datadog-trace-id and x-datadog-parent-id. but I don't know how to link this parent span to the span I'm creating when I'm processing the message.
My code looks like this one
So, how can I use these two variables traceId and parentId to link both spans?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions