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

Commit 4b964a1

Browse files
MikeGoldsmithyurishkuro
authored andcommitted
Add details on how to set agent & collector endpoint (#153)
Addresses #122 by adding details on how to set the agent host:port and the collector URL in the README. Signed-off-by: Mike Goldsmith <goldsmith.mike@gmail.com>
1 parent cdfaf5b commit 4b964a1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,28 @@ The code can be re-generated with
5353
$ git apply scripts/thrift-gen.patch
5454
```
5555

56+
### Updating Agent Host and Port
57+
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.
59+
60+
YAML configuration:
61+
62+
```yml
63+
repoter:
64+
localAgentHostPort: localhost:6831
65+
```
66+
67+
NOTE: It is not recommended to use a remote host for UDP connections.
68+
69+
### Updating Sampling Server URL
70+
71+
The default sampling collector URL is `http://127.0.0.1:5778`, you can use a different URL by updating the sampler configuration.
72+
73+
```yml
74+
sampler:
75+
samplingServerURL: http://jaeger-collector.local:5778
76+
```
77+
5678
## License
5779

5880
[Apache 2.0 License](./LICENSE).

0 commit comments

Comments
 (0)