From 2df0594cf995436203656504c797bd265936f9e1 Mon Sep 17 00:00:00 2001 From: Mike Goldsmith Date: Wed, 3 Apr 2019 11:03:40 +0100 Subject: [PATCH] Add details on how to set agent & collector endpoint 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 --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 9df2bfb2..32574637 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,28 @@ The code can be re-generated with $ git apply scripts/thrift-gen.patch ``` +### 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. + +YAML configuration: + +```yml +repoter: + localAgentHostPort: localhost: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. + +```yml +sampler: + samplingServerURL: http://jaeger-collector.local:5778 +``` + ## License [Apache 2.0 License](./LICENSE).