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

Commit a472fba

Browse files
authored
Clarify agent/sampler address overrides
1 parent 4b964a1 commit a472fba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,24 @@ The code can be re-generated with
5555

5656
### Updating Agent Host and Port
5757

58-
The default agent host and port is `127.0.0.1:6831`, you can use a different host/port by updating your reporter configuration.
58+
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:
5959

6060
YAML configuration:
6161

6262
```yml
6363
repoter:
64-
localAgentHostPort: localhost:6831
64+
localAgentHostPort: jaeger-agent:6831
6565
```
6666
6767
NOTE: It is not recommended to use a remote host for UDP connections.
6868
6969
### Updating Sampling Server URL
7070
71-
The default sampling collector URL is `http://127.0.0.1:5778`, you can use a different URL by updating the sampler configuration.
71+
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.
7272

7373
```yml
7474
sampler:
75-
samplingServerURL: http://jaeger-collector.local:5778
75+
samplingServerURL: http://jaeger-agent.local:5778
7676
```
7777

7878
## License

0 commit comments

Comments
 (0)