Jaeger Exporter Example

This example shows how to use OpenTelemetry to send tracing data to Jaeger.

The source files of this example are available here.

Installation

pip install opentelemetry-api
pip install opentelemetry-sdk
pip install opentelemetry-ext-jaeger

Run the Example

  • Start Jaeger

docker run --rm \
    -p 6831:6831/udp \
    -p 6832:6832/udp \
    -p 16686:16686 \
    jaegertracing/all-in-one:1.13 \
    --log-level=debug
  • Run the example

python jaeger_exporter.py

The traces will be available at http://localhost:16686/.