Skip to content
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

Converge on JAEGER_SAMPLING_ENDPOINT env variable #511

Merged

Conversation

eundoosong
Copy link
Contributor

@eundoosong eundoosong commented May 5, 2020

Signed-off-by: Eundoo Song <eundoo.song@gmail.com>
@eundoosong eundoosong force-pushed the replace_jaeger_sampling_endpoint branch from aec253f to 41932f2 Compare May 5, 2020 18:19
@codecov
Copy link

codecov bot commented May 5, 2020

Codecov Report

Merging #511 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           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           
Impacted Files Coverage Δ
config/config.go 95.30% <ø> (ø)
config/config_env.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 482437d...3a21be8. Read the comment docs.

config/config_env.go Outdated Show resolved Hide resolved
@@ -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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Contributor Author

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.)

@eundoosong eundoosong force-pushed the replace_jaeger_sampling_endpoint branch from a897f7f to eefb47d Compare May 7, 2020 15:53
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Eundoo Song <eundoo.song@gmail.com>
@eundoosong eundoosong force-pushed the replace_jaeger_sampling_endpoint branch from eefb47d to 3a21be8 Compare May 7, 2020 16:37
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename JAEGER_SAMPLER_MANAGER_HOST_PORT to JAEGER_SAMPLING_ENDPOINT
2 participants