Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Clarify agent/sampler address overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
yurishkuro authored Aug 3, 2019
1 parent 4b964a1 commit a472fba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,24 @@ The code can be re-generated with

### Updating Agent Host and Port

The default agent host and port is `127.0.0.1:6831`, you can use a different host/port by updating your reporter configuration.
The default host and port for Jaeger Agent is `127.0.0.1:6831`. When the application and Jaeger Agent are running in different containers on the same host, the application's notion of `localhost`/127.0.0.1 it restriced to its own container, so in this case it's usually necessary to override the Agent's host/port by updating your reporter configuration:

YAML configuration:

```yml
repoter:
localAgentHostPort: localhost:6831
localAgentHostPort: jaeger-agent:6831
```
NOTE: It is not recommended to use a remote host for UDP connections.
### Updating Sampling Server URL
The default sampling collector URL is `http://127.0.0.1:5778`, you can use a different URL by updating the sampler configuration.
The default sampling collector URL is `http://127.0.0.1:5778`. Similar to UDP address above, you can use a different URL by updating the sampler configuration.

```yml
sampler:
samplingServerURL: http://jaeger-collector.local:5778
samplingServerURL: http://jaeger-agent.local:5778
```

## License
Expand Down

0 comments on commit a472fba

Please sign in to comment.