Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Default sampling server URL to agent #414

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

bboreham
Copy link
Contributor

Which problem is this PR solving?

Resolves #388

Short description of the changes

If JAEGER_AGENT_HOST is set but JAEGER_SAMPLER_MANAGER_HOST_PORT is not, default the sampler manager to point at the agent.

If JAEGER_AGENT_HOST is set but JAEGER_SAMPLER_MANAGER_HOST_PORT is
not, default the sampler manager to point at the agent.

This simplifies configuration in containerised environments.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
@codecov
Copy link

codecov bot commented Aug 13, 2019

Codecov Report

Merging #414 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #414      +/-   ##
==========================================
+ Coverage   88.43%   88.44%   +<.01%     
==========================================
  Files          55       55              
  Lines        3105     3107       +2     
==========================================
+ Hits         2746     2748       +2     
  Misses        255      255              
  Partials      104      104
Impacted Files Coverage Δ
config/config_env.go 100% <100%> (ø) ⬆️

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 0b560d6...910423d. Read the comment docs.

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!

@yurishkuro yurishkuro merged commit 7148435 into jaegertracing:master Aug 13, 2019
@yurishkuro
Copy link
Member

small clean-up #415

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

Successfully merging this pull request may close these issues.

Default for JAEGER_SAMPLER_MANAGER_HOST_PORT should derive from JAEGER_AGENT_HOST
2 participants