Skip to content

Commit

Permalink
Explain agent's UDP ports (#262)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <ys@uber.com>
  • Loading branch information
yurishkuro authored Jun 11, 2019
1 parent af01080 commit 5a9167d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions content/docs/1.12/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,21 @@ The agent exposes the following ports:

Port | Protocol | Function
---- | ------- | ---
5775 | UDP | accept zipkin.thrift over compact thrift protocol
6831 | UDP | accept jaeger.thrift over compact thrift protocol
6832 | UDP | accept jaeger.thrift over binary thrift protocol
6831 | UDP | accept [jaeger.thrift][jaeger-thrift] in `compact` Thrift protocol used by most current Jaeger clients
6832 | UDP | accept [jaeger.thrift][jaeger-thrift] in `binary` Thrift protocol used by Node.js Jaeger client (because [thriftrw][thriftrw] npm package does not support `compact` protocol)
5778 | HTTP | serve configs, sampling strategies
5775 | UDP | accept [zipkin.thrift][zipkin-thrift] in `compact` Thrift protocol (deprecated; only used by very old Jaeger clients, circa 2016)

It can be executed directly on the host or via Docker, as follows:

```sh
## make sure to expose only the ports you use in your deployment scenario!
docker run \
--rm \
-p5775:5775/udp \
-p6831:6831/udp \
-p6832:6832/udp \
-p5778:5778/tcp \
-p5775:5775/udp \
jaegertracing/jaeger-agent:{{< currentVersion >}}
```

Expand Down Expand Up @@ -391,3 +391,6 @@ The names of environmental properties are capital letters and characters `-` and
To list all configuration properties call `jaeger-binary -h`.

[cqlsh]: http://cassandra.apache.org/doc/latest/tools/cqlsh.html
[zipkin-thrift]: https://github.com/jaegertracing/jaeger-idl/blob/master/thrift/zipkincore.thrift
[jaeger-thrift]: https://github.com/jaegertracing/jaeger-idl/blob/master/thrift/jaeger.thrift
[thriftrw]: https://www.npmjs.com/package/thriftrw
11 changes: 7 additions & 4 deletions content/docs/next-release/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,21 @@ The agent exposes the following ports:

Port | Protocol | Function
---- | ------- | ---
5775 | UDP | accept zipkin.thrift over compact thrift protocol
6831 | UDP | accept jaeger.thrift over compact thrift protocol
6832 | UDP | accept jaeger.thrift over binary thrift protocol
6831 | UDP | accept [jaeger.thrift][jaeger-thrift] in `compact` Thrift protocol used by most current Jaeger clients
6832 | UDP | accept [jaeger.thrift][jaeger-thrift] in `binary` Thrift protocol used by Node.js Jaeger client (because [thriftrw][thriftrw] npm package does not support `compact` protocol)
5778 | HTTP | serve configs, sampling strategies
5775 | UDP | accept [zipkin.thrift][zipkin-thrift] in `compact` Thrift protocol (deprecated; only used by very old Jaeger clients, circa 2016)

It can be executed directly on the host or via Docker, as follows:

```sh
## make sure to expose only the ports you use in your deployment scenario!
docker run \
--rm \
-p5775:5775/udp \
-p6831:6831/udp \
-p6832:6832/udp \
-p5778:5778/tcp \
-p5775:5775/udp \
jaegertracing/jaeger-agent:{{< currentVersion >}}
```

Expand Down Expand Up @@ -392,3 +392,6 @@ The names of environmental properties are capital letters and characters `-` and
To list all configuration properties call `jaeger-binary -h`.

[cqlsh]: http://cassandra.apache.org/doc/latest/tools/cqlsh.html
[zipkin-thrift]: https://github.com/jaegertracing/jaeger-idl/blob/master/thrift/zipkincore.thrift
[jaeger-thrift]: https://github.com/jaegertracing/jaeger-idl/blob/master/thrift/jaeger.thrift
[thriftrw]: https://www.npmjs.com/package/thriftrw

0 comments on commit 5a9167d

Please sign in to comment.