opentelemetry-rust/examples/tracing-jaeger
Dimitris Apostolou 81fea0747c
Avoid duplicate crates (#2703)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-02-25 08:07:55 -08:00
..
src move TraceError, TraceResult and ExportError to opentelemetry-sdk (#2680) 2025-02-20 11:11:02 -08:00
Cargo.toml Avoid duplicate crates (#2703) 2025-02-25 08:07:55 -08:00
README.md Use updated image for jaeger ui (#1754) 2024-05-13 20:27:18 -04:00
jaeger.png Use updated image for jaeger ui (#1754) 2024-05-13 20:27:18 -04:00

README.md

Exporting traces to Jaeger

This example shows how to export spans to Jaeger agent using OTLPExporter.

Usage

Launch the example app with Jaeger running in background via docker:


# Run jaeger in background with native OTLP Ingestion
$ docker run -d -p16686:16686 -p4317:4317 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest

# Run the app
$ cargo run

# View spans
$ firefox http://localhost:16686/

Jaeger UI