-
Notifications
You must be signed in to change notification settings - Fork 24
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
Bug: XRay Tracing not showing on Lambda timeouts #245
Labels
Comments
JohnHarkendorff
added
bug
Unexpected, reproducible and unintended software behaviour
triage
Pending triage from maintainers
labels
Apr 14, 2023
@JohnHarkendorff thanks for reporting. Will get back to you as soon as we can repro |
That’s expected behaviour for any language, because the “container” gets recycled and app traces aren’t sent to the X-Ray daemon running within Lambda sidecar “container”.
That’s an existing feature request for the Lambda service we can +1 if you can shoot us an email from your corporate address. We also asked Lambda for a guaranteed mechanism for cleanup within process (no extensions), as they
would solve it too and enable other use cases - there is an undocumented workaround today[1] for a guaranteed 500ms timeout handler, but can’t rely on that contract for now on X-Ray SDK because there isn't a mechanism to flush traces to X-Ray Daemon.
Until then, Lambda Extension is the only solution but that comes with a set of caveats too.
[1] https://gist.github.com/heitorlessa/4aad06c39a1d520ff8c42adc72b0bcd5
…On Sat, 15 Apr 2023 at 18:41, Henrique Graca ***@***.***> wrote:
@JohnHarkendorff <https://github.com/JohnHarkendorff> thanks for
reporting. Will get back to you as soon as we can repro
—
Reply to this email directly, view it on GitHub
<#245 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPQBGIMPUQOW6LYE7ZLH3XBLFTFANCNFSM6AAAAAAW62R7JQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
hjgraca
added
enhancement
and removed
bug
Unexpected, reproducible and unintended software behaviour
triage
Pending triage from maintainers
labels
Apr 18, 2023
@JohnHarkendorff also refer to the existing issues aws/aws-xray-sdk-dotnet#265. and aws/aws-xray-sdk-node#446 (comment). Like @heitorlessa mentioned there can be a possibility by using extensions. I will investigate if there is a way in .NET to do something similar to what Heitor did for python. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour
Tracing segments are shown when a Lambda times out
Current Behaviour
No tracing segments are shown
Code snippet
Possible Solution
No response
Steps to Reproduce
Would expect, in the code provided, to see
## Handler
in the traces, but instead only see "Invocation".AWS Lambda Powertools for .NET version
latest
AWS Lambda function runtime
dotnet6
Debugging logs
No response
The text was updated successfully, but these errors were encountered: