(feat): Enable Exception Replay in Lambda#592
Merged
Conversation
purple4reina
approved these changes
May 9, 2025
Contributor
purple4reina
left a comment
There was a problem hiding this comment.
Code looks great. Can you help me understand what this Exception Replay feature is all about?
Contributor
Author
@purple4reina Sure! It basically just captures all the local variables and their values at the time of an exception, kind of like a debugger in an IDE. Here's a blog post: https://www.datadoghq.com/blog/exception-replay-datadog/ Currently only supported on Python, Java, and .NET tracers Gonna update the PR with that blog post |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Enable exception replay in Lambda if
DD_EXCEPTION_REPLAY_ENABLED=trueException replay blog post
Note: At the moment, this only works when
DD_EXTENSION_VERSION=compatibility. This is because we have not yet implemented these endpoints in the Rust extension:/debugger/v1/diagnostics/debugger/v1/inputMotivation
Support exception replay in Lambda
https://datadoghq.atlassian.net/browse/SVLS-6812
Testing Guidelines
Manually. It works when compatibility mode is enabled:

Additional Notes
Types of Changes
Check all that apply