-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing lambda spans when called from distributed map in step functions #268
Comments
Hi Adam, If you send an email to [email protected], you can ask them to add you to the feature request for span linking across distributed map states. Sorry and all the best! |
Thanks for the quick response. I fully accept the argument related to the properties of distributed maps. I'm wondering if the lambda traces might be completely independent from step function trace, like for the manual function invocation. In my case this will be even better than nothing. Best regards, |
Hi @adatob , do you mean something like this? It seems like it should just work. You could use our X-Ray integration or instrument the Lambda functions using datadog instrumentation, whatever you want. |
Hello. We are currently working with AWS on supporting Distributed MapStates. There have been a couple of sync meetings between AWS and us recently. We need their help to inject some useful data into execution logs so that span linking can be possible. For the XRay solution, AWS engineers previously told us that it cannot support Distributed MapStates either. XRay is facing the same problem as we are, and it may also have more concerns about the scale of the fan-out. |
Hey @nine5two7 is there any update on above? |
still WIP |
Hi,
I'm struggling with the problem of missing spans in DataDog when calling a lambda function from a step function where distributed maps are in use. Considering the AWS developer guide there is an information that Step Functions doesn't support X-Ray tracing for the child workflow executions started by a Distributed Map state.
I am still able to re-enable X-Ray tracing by creating a new segment inside the function, however such traces are not pulled by the DD - X-Ray integration. Moreover the child spans created with the dd-trace tracer are not visible anymore.
Only spans created by the extension layer are still visible in DD: one or two depending on the cold start.
With the manual lambda invocation the spans created and all associated X-Ray traces are visible id DD.
I wonder if there is any alternative solution that:
current environment details:
DD_MERGE_XRAY_TRACES
set to trueI will be grateful for the community's support on this topic,
Adam.
The text was updated successfully, but these errors were encountered: