Please take the OpenCensus user survey

Jaeger

Introduction

The OpenCensus Jaeger receiver allows the OpenCensus Service to capture traces that were initially destined for Jaeger

Accepted formats

The OpenCensus Jaeger receiver can act as the following:

Configuration

A Jaeger receiver can be turned on by using the configuration file sub-section “jaeger” under “receivers”.

Format

Agent

receivers:
  jaeger:
    tchannel_port: <port>
    collector_http_port: <port>
    agent_port: <port>
    agent_compact_thrift_port: <port>
    agent_binary_thrift_port: <port>

Collector

receivers:
  jaeger:
    jaeger-thrift-tchannel-port: <port>
    jaeger-thrift-http-port: <port>

Defaults and custom configurations

If a Jaeger receiver is specified, it will start the following

YAML Field Description Default Port
thrift-tchannel_port Compact Thrift collector 14267
thirft-http-port Binary Thrift collector 14268

Example

receivers:
  jaeger: {}

and when OpenCensus Service is re-run, it should produce such output

Agent
2019/02/13 12:33:38 Running zPages at ":55679"
2019/02/13 12:33:38 Running Jaeger receiver with CollectorThriftPort 14267 CollectHTTPPort 14268
Collector
{"level":"info","ts":1551744415.5136526,"caller":"opencensus/receiver.go:62","msg":"OpenCensus receiver is running.","port":55678}
{"level":"info","ts":1551744414.5134265,"caller":"jaeger/receiver.go:58","msg":"Jaeger receiver is running.","thrift-tchannel-port":14267,"thrift-http-port":14268}

References

Resource URL
Jaeger project home https://www.jaegertracing.io