-
Notifications
You must be signed in to change notification settings - Fork 289
Converge on JAEGER_SAMPLING_ENDPOINT env variable #511
Converge on JAEGER_SAMPLING_ENDPOINT env variable #511
Conversation
Signed-off-by: Eundoo Song <eundoo.song@gmail.com>
aec253f
to
41932f2
Compare
Codecov Report
@@ Coverage Diff @@
## master #511 +/- ##
=======================================
Coverage 88.74% 88.74%
=======================================
Files 60 60
Lines 3784 3786 +2
=======================================
+ Hits 3358 3360 +2
Misses 309 309
Partials 117 117
Continue to review full report at Codecov.
|
@@ -102,5 +102,5 @@ const ( | |||
|
|||
var ( | |||
// DefaultSamplingServerURL is the default url to fetch sampling config from, via http | |||
DefaultSamplingServerURL = fmt.Sprintf("http://localhost:%d/sampling", DefaultSamplingServerPort) | |||
DefaultSamplingServerURL = fmt.Sprintf("http://127.0.0.1:%d/sampling", DefaultSamplingServerPort) |
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.
why this change?
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.
It's not a big reason.
I referred to csharp change, 127.0.0.1 was used in both readme.md and code.
JAEGER_SAMPLING_ENDPOINT | The url for the remote sampling conf when
using sampler type remote. Default is http://127.0.0.1:5778/sampling
If you want, we can stay current code since localhost is 127.0.0.1 (except /etc/hosts lookup.)
a897f7f
to
eefb47d
Compare
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: Eundoo Song <eundoo.song@gmail.com>
eefb47d
to
3a21be8
Compare
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.
Thanks!
Which problem is this PR solving?