Blog In Progress
Completed
Open Source
Demo
Rust
Axum
OpenTelemetry
REST API
gRPC
protobuf
Docker
Open source repo link and writeup on the way!
About
This project is the result of a few hours of hacking on a weekend. I wanted to get a good feel for configuring distributed tracing using OpenTelemetry in Rust.
The write up will cover the following and include code samples:
- Setting up an Axum web server
- Configuring OpenTelemetry to format and emit traces using Tokio Tracing.
- Configuring Jaeger to receive traces from the web server
- Setting up an example gRPC server and client using Tonic, calling the service from the web server, and propagating the trace context between the two services to Jaeger.