-
Notifications
You must be signed in to change notification settings - Fork 98
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
Error trace linking #1019
Error trace linking #1019
Conversation
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1019 +/- ##
==========================================
- Coverage 81.19% 81.07% -0.12%
==========================================
Files 190 190
Lines 19745 19747 +2
Branches 3468 3468
==========================================
- Hits 16031 16009 -22
- Misses 2724 2743 +19
- Partials 990 995 +5 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of things to move around, let me know when this is separated and in the meantime I'll have to bring this up with the spec reviewers.
tests/cross_agent/fixtures/distributed_tracing/distributed_tracing.json
Outdated
Show resolved
Hide resolved
tests/testing_support/validators/validate_error_trace_collector_json.py
Outdated
Show resolved
Hide resolved
@@ -83,7 +83,6 @@ | |||
"parent.transportType", | |||
"parent.transportDuration", | |||
"parentId", | |||
"guid", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's put this line back as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, the distributed tracing intrinsics list goes into an expected absenses attributes list. Since guid is now DT agnostic, it is expected that this make it to the intrinsics list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for tests on this one to pass but otherwise it looks good to go
* Error trace linking (#1019) * Add guid to error event & trace intrinsics w/o DT * Update tests to show guid in intrinsics sans DT * Fix cross agent DT tests and some pylint errors * Remove memcached testing for Python 2.7 * Temporarily pin hypercorn to <0.16 * Remove guid from TracedError & add to intrinsics * Rearrange intrinsics to remove redundancy * Move guid to make it agnostic to DT * Change param initialization type * Use getattr instead of calling root.guid directly * Revert cross agent tests and add guid to DT as well * Separate outside transaction error trace linking * Remove guid from DT specific attribute checks * Fix slow SQL test * Remove guid from JSON * Revert error_trace_collector validator --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Update PyPy in CI to 3.10 (#1065) * Update PyPy3.8 to PyPy3.10 in CI * Fix broken utilization test * Pin CI sha to dev image * Fix failing sklearn test * Unroll sklearn changes * Update falcon tests for 2024 SLAs * Remove pypy38 from image * Unpin dev CI image sha * Change all pypy38 to pypy310 --------- Co-authored-by: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Overview
This PR adds
guid
as an intrinsic field instead of just having a guid in the error trace when Distributed Tracing is enabled. This links the Transaction Error and the Error Trace even if distributed tracing is off, allowing for the user to see more attributes that are attached to the Error Trace in the Errors Inbox UI.