-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[v2][adjuster] Implement function to get standard adjusters to operate on otlp format #6396
[v2][adjuster] Implement function to get standard adjusters to operate on otlp format #6396
Conversation
Signed-off-by: Mahad Zaryab <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6396 +/- ##
==========================================
+ Coverage 96.24% 96.28% +0.04%
==========================================
Files 365 366 +1
Lines 20907 20918 +11
==========================================
+ Hits 20121 20140 +19
+ Misses 601 595 -6
+ Partials 185 183 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ClockSkew(maxClockSkewAdjust), // adds warnings (which affect SpanHash) on duplicate span IDs | ||
IPAttribute(), | ||
ResourceAttributes(), | ||
SpanLinks(), |
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 consider renaming these adjusters to reflect the business function. Reading this list I can reasonably guess what the first two are doing, plus ClockSkew. But all others are poorly named.
My suggestion would be to use verbs that describe the function, e.g.
- DedupeClientServerSpanIDs
- SortAttributes
- DedupeSpans
- etc
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.
@yurishkuro Done. Let me know what you think
Signed-off-by: Mahad Zaryab <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
Which problem is this PR solving?
Description of the changes
StandardAdjusters
that returns a list of adjusters to be applied on ptrace.TracesChecklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test