uptrace-rs is an OpenTelemery Rust distribution configured to export traces and metrics to Uptrace.
Install uptrace-rs:
cargo add uptrace
Run the basic example below using the DSN from the Uptrace project settings page.
UPTRACE_DSN=http://project2_secret_token@localhost:14317/2 cargo run --example basic