-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix TLS flags settings in jaeger OTEL receiver #2438
Fix TLS flags settings in jaeger OTEL receiver #2438
Conversation
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
Codecov Report
@@ Coverage Diff @@
## master #2438 +/- ##
==========================================
- Coverage 95.57% 95.55% -0.02%
==========================================
Files 208 208
Lines 10682 10682
==========================================
- Hits 10209 10207 -2
- Misses 400 402 +2
Partials 73 73
Continue to review full report at Codecov.
|
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.
Final question. Since GRPC and Thrift HTTP are automatically enabled on the default jaeger collector should we always start the otel collector receivers?
KeyFile: cOpts.TLS.KeyPath, | ||
CertFile: cOpts.TLS.CertPath, | ||
} | ||
if cOpts.TLS.Enabled == true { |
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.
can simplify if cOpts.TLS.Enabled {
Should enabling TLS through the Jaeger Collector options also turn on TLS for HTTP below? Ignore. I see that the collector settings are specific to GRPC.
They are started/configured by the |
Ok, It took some unwinding, but I see what you're referring to. It looks like the order is:
I'm wondering if steps two and three should be swapped. For instance in this PR if
Is there a default config for OTEL? Last time I checked the operator had to configure the basic pipeline. Obviously there is a lot of history here and I'm just playing catch up. I will continue to think about this as I review the code/PRs! |
Maybe it could be swapped or even merged together. Maybe at the default conf creation time we know what componnet (collector, agent...) is being started.
There isn't there is also a proposal to have one, but It probably won't be merged. Maybe OTEL will provide a default config file with the distribution. |
Signed-off-by: Pavol Loffay ploffay@redhat.com
The GRPC TLS settings were not applied when
--collector.grpc.host-port=
was not provided. This was causing issues in the operator as it does not set the endpoint.