Skip to content

What's the best way for Rust developers to get started? #1425

Open
@cartermp

Description

@cartermp

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, and tracer.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 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionInput from everyone is helpful to drive this forwarddocse1-hoursEffort: < 8 hrsenhancementNew feature or requestsig:rust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions