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

[v2][adjuster] Implement function to get standard adjusters to operate on otlp format #6396

Merged
merged 8 commits into from
Dec 23, 2024

Conversation

mahadzaryab1
Copy link
Collaborator

@mahadzaryab1 mahadzaryab1 commented Dec 23, 2024

Which problem is this PR solving?

Description of the changes

Checklist

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]>
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.28%. Comparing base (4ecb086) to head (d47c8a2).
Report is 1 commits behind head on main.

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     
Flag Coverage Δ
badger_v1 8.99% <ø> (ø)
badger_v2 1.63% <ø> (ø)
cassandra-4.x-v1-manual 14.96% <ø> (ø)
cassandra-4.x-v2-auto 1.57% <ø> (ø)
cassandra-4.x-v2-manual 1.57% <ø> (ø)
cassandra-5.x-v1-manual 14.96% <ø> (ø)
cassandra-5.x-v2-auto 1.57% <ø> (ø)
cassandra-5.x-v2-manual 1.57% <ø> (ø)
elasticsearch-6.x-v1 18.66% <ø> (+<0.01%) ⬆️
elasticsearch-7.x-v1 18.73% <ø> (ø)
elasticsearch-8.x-v1 18.89% <ø> (ø)
elasticsearch-8.x-v2 1.62% <ø> (ø)
grpc_v1 10.67% <ø> (+<0.01%) ⬆️
grpc_v2 7.93% <ø> (ø)
kafka-v1 9.35% <ø> (ø)
kafka-v2 1.63% <ø> (ø)
memory_v2 1.63% <ø> (+<0.01%) ⬆️
opensearch-1.x-v1 18.78% <ø> (ø)
opensearch-2.x-v1 18.79% <ø> (ø)
opensearch-2.x-v2 1.63% <ø> (ø)
tailsampling-processor 0.47% <ø> (ø)
unittests 95.13% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ClockSkew(maxClockSkewAdjust), // adds warnings (which affect SpanHash) on duplicate span IDs
IPAttribute(),
ResourceAttributes(),
SpanLinks(),
Copy link
Member

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

Copy link
Collaborator Author

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]>
cmd/query/app/querysvc/adjuster/standard.go Outdated Show resolved Hide resolved
cmd/query/app/querysvc/adjuster/standard.go Outdated Show resolved Hide resolved
Signed-off-by: Mahad Zaryab <[email protected]>
@mahadzaryab1 mahadzaryab1 enabled auto-merge (squash) December 23, 2024 20:54
@mahadzaryab1 mahadzaryab1 merged commit c8a1548 into jaegertracing:main Dec 23, 2024
54 checks passed
@mahadzaryab1 mahadzaryab1 deleted the standard-adjusters branch December 23, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants