-
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
feat: add support for distributed traces #77
Conversation
f3a2bb4
to
761cbcd
Compare
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.
We should have an integration snapshot test with a distributed trace (shouldn't be too bad to add to test_snapshot_integration.py
).
We'll have to figure out if we should leave the parent id as it is received or if we normalize it at all. I also suspect the snapshot logic assumes that all span ids have corresponding spans in the trace
761cbcd
to
f41a756
Compare
f41a756
to
b2b2544
Compare
Blocked on DataDog/sketches-py#55 |
DataDog/sketches-py#55 merged and released: https://pypi.org/project/ddsketch/2.0.3/ |
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.
can we just add a bullet point here: https://github.com/DataDog/dd-apm-test-agent#snapshot-output
to state how distributed traces (when some spans aren't sent) are handled?
once that's done then LGTM 🙌
Co-authored-by: Kyle Verhoog <[email protected]>
Add support for distributed traces where an instrumented service sends a trace chunk where the root span has a parent not in the trace chunk.