-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Move pkg/adjuster to cmd/query/app/querysvc/internal/adjuster #6956
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
Move pkg/adjuster to cmd/query/app/querysvc/internal/adjuster #6956
Conversation
Signed-off-by: pipiland <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6956 +/- ##
=======================================
Coverage 96.19% 96.20%
=======================================
Files 344 343 -1
Lines 20253 20266 +13
=======================================
+ Hits 19483 19496 +13
Misses 581 581
Partials 189 189
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
please see feedback on #6916 |
waiting on getting Yuri's feedback addressed
@yurishkuro thanks for the comment. Indeed, the primary client of the package is cmd/query/app/querysvc/query_service.go. However adjuster.ZipkinSpanIDUniquifier is used in internal/storage/v1/memory/memory.go. Could you advise if this is actually needed in internal/storage/v1/memory/memory.go at all? I don't see it in use for other Trace Storage like elasticsearch. If it's not needed, then it's straightforward to move to |
Feel free to remove it from memory storage. |
Move to |
…rage Signed-off-by: pipiland <[email protected]>
Signed-off-by: pipiland <[email protected]>
5c8f189
to
628f3be
Compare
cmd/query/app/querysvc/adjusters.go
Outdated
@@ -7,20 +7,20 @@ package querysvc | |||
import ( | |||
"time" | |||
|
|||
"github.com/jaegertracing/jaeger/model/adjuster" | |||
adjuster2 "github.com/jaegertracing/jaeger/cmd/query/app/querysvc/internal/adjuster" |
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.
renaming is unnecessary change
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.
Agree. I adjusted this in 76f5ec5.
Signed-off-by: pipiland <[email protected]>
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.
Thanks
…tracing#6956) ## Which problem is this PR solving? - part of jaegertracing#6869 ## Description of the changes - moved `pkg/adjuster` to `cmd/query/app/querysvc/internal/adjuster` ## How was this change tested? - changes have passed all tests of the project ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` --------- Signed-off-by: pipiland <[email protected]>
…tracing#6956) ## Which problem is this PR solving? - part of jaegertracing#6869 ## Description of the changes - moved `pkg/adjuster` to `cmd/query/app/querysvc/internal/adjuster` ## How was this change tested? - changes have passed all tests of the project ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` --------- Signed-off-by: pipiland <[email protected]> Signed-off-by: amol-verma-allen <[email protected]>
Which problem is this PR solving?
Description of the changes
pkg/adjuster
tocmd/query/app/querysvc/internal/adjuster
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test