-
Notifications
You must be signed in to change notification settings - Fork 344
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
Set the grpc port name to include http(s) prefix. #1122
Set the grpc port name to include http(s) prefix. #1122
Conversation
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1122 +/- ##
==========================================
+ Coverage 88.07% 88.09% +0.02%
==========================================
Files 86 86
Lines 5283 5294 +11
==========================================
+ Hits 4653 4664 +11
Misses 466 466
Partials 164 164
Continue to review full report at Codecov.
|
} | ||
|
||
// if we don't have a jaeger provided, it's certainly not TLS... | ||
if nil == jaeger { |
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.
Should this ever happen?
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.
Not in the common path, not with the code we have today.
I manually tested this in an OpenShift cluster (crc) with Service Mesh installed and auto-injecting the Istio sidecar, and can confirm that this fixes the reported issue:
And I see traces arriving at the Jaeger backend. Here's a sample of a trace generated based on the |
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Fixes #1117 by setting the gRPC port name to include the
https-
prefix in case TLS is enabled, andhttp-
if TLS isn't enabled.Signed-off-by: Juraci Paixão Kröhling [email protected]