-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[refactor] Remove jaeger_query
extension from remote storage backend config
#7059
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
[refactor] Remove jaeger_query
extension from remote storage backend config
#7059
Conversation
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7059 +/- ##
=======================================
Coverage 96.03% 96.03%
=======================================
Files 355 355
Lines 20973 20973
=======================================
Hits 20141 20141
Misses 626 626
Partials 206 206
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:
|
EnvVarOverrides: map[string]string{ | ||
"JAEGER_QUERY_GRPC_ENDPOINT": "localhost:0", | ||
"JAEGER_QUERY_HTTP_ENDPOINT": "localhost:0", | ||
}, |
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.
Why isn't this needed? The main collector config has query in it, and query config also has it, they would cause conflicts.
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 This is using the remote storage backend which removes the query service
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.
ah... we definitely need the diagrams, you changed how query test is architected - the "backend" acts as both collector and the remote storage (clever!)
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.
Hahah yeah I had to move those around in the last PR. And yes absolutely - will address in #7055
…d config (jaegertracing#7059) ## Which problem is this PR solving? - Resolves jaegertracing#7058 ## Description of the changes - The `jaeger_query` extension was previously added to `config-remote-storage-backend.yaml` solely to satisfy a requirement in the storage cleaner setup, even though it was otherwise unnecessary. - This PR removes that dependency by relaxing the logic that creates the storage cleaner configuration. Instead of requiring `jaeger_query`, the code now first attempts to read the storage from the `jaeger_query` extension if available, and falls back to the `remote_storage` extension if it is not. ## How was this change tested? - CI ## 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: Mahad Zaryab <mahadzaryab1@gmail.com>
…d config (jaegertracing#7059) ## Which problem is this PR solving? - Resolves jaegertracing#7058 ## Description of the changes - The `jaeger_query` extension was previously added to `config-remote-storage-backend.yaml` solely to satisfy a requirement in the storage cleaner setup, even though it was otherwise unnecessary. - This PR removes that dependency by relaxing the logic that creates the storage cleaner configuration. Instead of requiring `jaeger_query`, the code now first attempts to read the storage from the `jaeger_query` extension if available, and falls back to the `remote_storage` extension if it is not. ## How was this change tested? - CI ## 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: Mahad Zaryab <mahadzaryab1@gmail.com> Signed-off-by: amol-verma-allen <amol.verma@allen.in>
Which problem is this PR solving?
Description of the changes
jaeger_query
extension was previously added toconfig-remote-storage-backend.yaml
solely to satisfy a requirement in the storage cleaner setup, even though it was otherwise unnecessary.jaeger_query
, the code now first attempts to read the storage from thejaeger_query
extension if available, and falls back to theremote_storage
extension if it is not.How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test