-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Refactor metricstore/es/reader.go by introducing queryBuilder #7297
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
Conversation
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
|
||
// These constants define the specific names of aggregations used within Elasticsearch | ||
// queries. They are crucial for both constructing the query sent to Elasticsearch | ||
// and for correctly extracting the corresponding data from the Elasticsearch response. |
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.
Hi @yurishkuro, since these constants are also important for retrieve results from raw ES result, they can also be used in another file (to_domain.go, reader.go)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7297 +/- ##
==========================================
- Coverage 96.18% 96.16% -0.02%
==========================================
Files 374 375 +1
Lines 22750 22733 -17
==========================================
- Hits 21882 21862 -20
- Misses 655 657 +2
- Partials 213 214 +1
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:
|
Which problem is this PR solving?
Description of the changes
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test