opentelemetry-rust/examples/tracing-jaeger
Zhongyang Wu 82fa485359
feat: clean up trace SDK APIs (#1755)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-05-30 10:04:08 -07:00
..
src feat: clean up trace SDK APIs (#1755) 2024-05-30 10:04:08 -07:00
Cargo.toml Use semantic conventions in examples (#1639) 2024-03-25 12:27:25 -04: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