Rust has no runtime agent. In practice you keep the tracing crate you already have and bridge it to OpenTelemetry, so existing #[instrument] attributes start being exported without rewriting them.

Add the crates

The http-proto feature matters. Without it the exporter is built for gRPC and will not talk to the HTTP ingress.

Initialise

The Rust builder API has changed shape more than once across releases. If this does not compile, check the version Cargo resolved — the docs for that exact version are authoritative.

Use it, and shut it down