API Gateway Community v2.0

Older version: v2.0

Released on March 7, 2022

Document updated on

Exporting traces to Jaeger

Jaeger is an open source, end-to-end distributed tracing system that allows you to monitor and troubleshoot transactions in complex distributed systems.

The Opencensus exporter allows you export data to Jaeger. Enabling it only requires you to add the jaeger exporter in the opencensus module.

The following configuration snippet sends data to your Jaeger:

{
  "extra_config":{
    "telemetry/opencensus": {
      "exporters": {
        "jaeger": {
          "endpoint": "http://192.168.99.100:14268/api/traces",
          "service_name":"krakend",
          "buffer_max_count": 1000
        }
      }
    }
  }
}

  • endpoint is the URL (including port) where your Jaeger is
  • service_name the service name registered in Jaeger
  • buffer_max_count defines the total number of traces that can be buffered in memory

See also the additional settings of the Opencensus module that can be declared.