Skip to content

randommm/rust-opentelemetry-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example of setting up OpenTelemetry tracing with Rust.

Usage

Start the Jaeger Docker container:

docker run --rm --name jaeger -e COLLECTOR_ZIPKIN_HOST_PORT:9411 -e COLLECTOR_OTLP_ENABLED:true -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 -p 16686:16686 -p 4317:4317 -p 4318:4318 -p 14250:14250 -p 14268:14268 -p 14269:14269 -p 9411:9411 jaegertracing/all-in-one

Run the Rust application:

cargo run

View the traces in the Jaeger UI:

open http://127.0.0.1:16686

About

Rust OpenTelemetry example

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages