-
Notifications
You must be signed in to change notification settings - Fork 9
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
Skip normalization & obfuscation and coalesce instead #475
Conversation
73afef7
to
40e13c3
Compare
Turns out the agent ignores the root_span_tags for v0.7 anyway. This is useful to coalesce chunks with common data, allowing us to actually save us from doing redundant requests. As it was currently, the agentful trace sender always sent one trace per request, instead of merging them. We also skip normalization and rely on the agent to do it, for sake of consistency with other tracers and reduce the potentially duplicated work across tracer and agent. We may change that back in future, but for now we've determined it to be the easiest way to work, also with respect to normalization-unaware testing. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
40e13c3
to
eae0df0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #475 +/- ##
==========================================
+ Coverage 69.24% 69.27% +0.03%
==========================================
Files 195 195
Lines 26051 26106 +55
==========================================
+ Hits 18039 18086 +47
- Misses 8012 8020 +8
|
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.
nitpicks on comments and one question about the optimization
Co-authored-by: Pierre Bonet <pierotibou@gmail.com>
Co-authored-by: Pierre Bonet <pierotibou@gmail.com>
Co-authored-by: Pierre Bonet <pierotibou@gmail.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bypassing branch protection and merging at @pierotibou's request. dd-gitlab/report_gitlab_CI_status job is not working as expected. Gitlab manually verified to pass. |
Turns out the agent ignores the root_span_tags for v0.7 anyway. This is useful to coalesce chunks with common data, allowing us to actually save us from doing redundant requests. As it was currently, the agentful trace sender always sent one trace per request, instead of merging them.
We also skip normalization and rely on the agent to do it, for sake of consistency with other tracers and reduce the potentially duplicated work across tracer and agent. We may change that back in future, but for now we've determined it to be the easiest way to work, also with respect to normalization-unaware testing.