Fix TLS flags settings in jaeger OTEL receiver#2438
Fix TLS flags settings in jaeger OTEL receiver#2438pavolloffay merged 1 commit intojaegertracing:masterfrom
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.
|
joe-elliott
left a comment
There was a problem hiding this comment.
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.
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.