The Rust OpenTelemetry implementation.
OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using [Prometheus], [Jaeger], and other observability tools.
```rust use opentelemetry::{api::trace::Tracer, exporter::trace::stdout};
fn main() -> Result<(), Box
tracer.in_span("doing_work", |cx| {
// Traced app logic here...
});
Ok(())
} ```
See the examples directory for different integration patterns.
See the contributing file.