feat: Add esmapping-generator into jaeger binary#6327
feat: Add esmapping-generator into jaeger binary#6327yurishkuro merged 5 commits intojaegertracing:mainfrom
Conversation
|
@yurishkuro I think now this is perfectly decoupling the logic for generation in tool and then calling it from jaeger binary. Looking forward to your suggestions! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6327 +/- ##
==========================================
- Coverage 96.23% 96.23% -0.01%
==========================================
Files 373 377 +4
Lines 21406 21421 +15
==========================================
+ Hits 20600 20614 +14
Misses 614 614
- Partials 192 193 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
24c7af6 to
01ad9bc
Compare
yurishkuro
left a comment
There was a problem hiding this comment.
how is a user expected to run this?
01ad9bc to
be85f38
Compare
yurishkuro
left a comment
There was a problem hiding this comment.
lgtm overall, but some cleanup required
f2e79fb to
5568b42
Compare
Signed-off-by: Rohanraj123 <rajrohan88293@gmail.com>
5568b42 to
1769154
Compare
| "github.com/jaegertracing/jaeger/cmd/esmapping-generator/generator" | ||
| ) | ||
|
|
||
| func Command(options app.Options) *cobra.Command { |
There was a problem hiding this comment.
Why do you need options as argument? It seems it's always passed as zero value
There was a problem hiding this comment.
For testing purpose.
There was a problem hiding this comment.
it's not used in any way in tests. You set the params by passing CLI flags.
Signed-off-by: Rohanraj123 <rajrohan88293@gmail.com>
Signed-off-by: Rohanraj123 <rajrohan88293@gmail.com>
Signed-off-by: Rohanraj123 <rajrohan88293@gmail.com>
|
Thanks! |
Which problem is this PR solving?
Description of the changes
How was this change tested?
Checklist
jaeger:make lint testjaeger-ui:yarn lintandyarn test