Receives trace data in Jaeger format.
Supported pipeline types: traces
By default, the Jaeger receiver will not serve any protocol. A protocol must be
named under the protocols
object for the jaeger receiver to start. The
below protocols are supported, each supports an optional endpoint
object configuration parameter.
grpc
(defaultendpoint
= 0.0.0.0:14250)thrift_binary
(defaultendpoint
= 0.0.0.0:6832)thrift_compact
(defaultendpoint
= 0.0.0.0:6831)thrift_http
(defaultendpoint
= 0.0.0.0:14268)
Examples:
receivers:
jaeger:
protocols:
grpc:
jaeger/withendpoint:
protocols:
grpc:
endpoint: 0.0.0.0:14260
UDP protocols (currently thrift_binary
and thrift_compact
) allow setting additional
server options:
queue_size
(default 1000) sets max not yet handled requests to servermax_packet_size
(default 65_000) sets max UDP packet sizeworkers
(default 10) sets number of workers consuming the server queuesocket_buffer_size
(default 0 - no buffer) sets buffer size of connection socket in bytes
Examples:
protocols:
thrift_binary:
endpoint: 0.0.0.0:6832
queue_size: 5_000
max_packet_size: 131_072
workers: 50
socket_buffer_size: 8_388_608
Several helper files are leveraged to provide additional capabilities automatically:
- gRPC settings including CORS
- TLS and mTLS settings
The Jaeger receiver also supports fetching sampling configuration from a remote collector. It works by proxying client requests for remote sampling configuration to the configured collector.
+------------+ +-----------+ +---------------+
| | get | | proxy | |
| client +--- sampling ---->+ agent +------------->+ collector |
| | strategy | | | |
+------------+ +-----------+ +---------------+
Remote sample proxying can be enabled by specifying the following lines in the jaeger receiver config:
receivers:
jaeger:
protocols:
grpc:
remote_sampling:
host_endpoint: "jaeger-collector:1234"
Remote sampling can also be directly served by the collector by providing a sampling json file:
receivers:
jaeger:
protocols:
grpc:
remote_sampling:
strategy_file: "/etc/strategy.json"
Note: the grpc
protocol must be enabled for this to work as Jaeger serves its
remote sampling strategies over gRPC.