Skip to content
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

feat(autofix): Send trace-connected error and transaction tree in Autofix payload #86856

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

roaga
Copy link
Member

@roaga roaga commented Mar 11, 2025

Finds all transactions and errors in a trace for the event we're running Autofix on, and returns a tree with the important fields. We'll be able to use this tree as context in prompts, and use it as a starting point for tools to access profiles, trace-connected issues, and spans.

I have no way to test locally, so I made this safe enough to test in prod.

One annoying note is that transactions are planned to be deprecated eventually, but if I were to only dump spans, there would be way too much noise. Once the deprecation happens, we can update this logic then to use span segments and whatever else is available.

@roaga roaga requested a review from jennmueng March 11, 2025 22:51
@roaga roaga requested a review from a team as a code owner March 11, 2025 22:51
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant