Open
Description
I was re-learning Rust last evening with aims to figure out how to write a decent Getting Started article. But I realized pretty quickly that there's some decision points to make about such an article, and I'm not equipped to make those decisions:
- What's the best web server framework to center the guide around? E.g., what's "Flask but for Rust"?
- As far as I can tell there's no automatic instrumentation packages (like for Actix). Should the guide still center around creating a span on an incoming request?
- The otel-rust API has two ways to create spans -
tracer.in_span
which takes care of the span lifecycle and borrowing semantics at the cost of nesting code, andtracer.start
which requires you to manage the span more intricately. Which is better for beginners? Why? - OTel for Rust also provides bindings for the Tokio Tracing framework, letting you use those APIs and then making the data OTel-compatible. Is this the best way for people to start instead?
Would definitely appreciate @open-telemetry/rust-approvers and anyone who uses Rust with OTel to weigh in here 🙂