Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md | ||
jaeger.png |
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/