Implement OpenTelemetry in a real-world, multi-container e-commerce architecture
Manjunath Gangappa, Rajkumar Rangaraj

#Rust
#OpenTelemetry
#E-commerce_architecture
#RED
#USE
#KPIs
Learn to design, implement, and scale distributed observability in Rust using OpenTelemetry, with practical examples for tracing, logging, and metrics.
Gain the skills to build, monitor, and debug distributed systems in Rust with this hands-on guide to observability using OpenTelemetry. As Rust adoption grows in backend services, developers face fragmented documentation and limited tooling for telemetry. This book fills that gap by presenting a unified, end-to-end solution to implement distributed observability in modern Rust systems.
You’ll explore the foundations of observability and Rust’s ownership model before learning how to collect, export, and correlate logs, metrics, and traces. Discover how to instrument applications using OpenTelemetry crates and bridge them with the tracing ecosystem. Learn to deploy the OpenTelemetry Collector, integrate with Prometheus, Grafana, and Jaeger, and tackle challenges like sampling, context propagation, and async tracing.
Written by two seasoned engineers with over 35 years of combined experience in large-scale systems and open-source observability leadership, this book balances theory with real-world implementations. From debugging async bottlenecks to configuring cost-effective telemetry pipelines, you’ll finish with the confidence to operate reliable, observable Rust systems at scale.
Rust developers building backend systems, DevOps engineers, and SREs deploying Rust in production will benefit from this book. Ideal for readers experienced in Rust development who want to implement end-to-end observability using OpenTelemetry and tools like Grafana, Prometheus, and Jaeger.
Part 1: Foundation
Chapter 1: Introduction to Observability
Chapter 2: Reading Rust Memory From Traces
Chapter 3: The OpenTel E-Commerce System
Part 2: Instrumentation
Chapter 4: Instrumenting the Request Journey
Chapter 5: Data Layer Instrumentation
Chapter 6: Metrics That Matter (RED + USE + KPIs)
Chapter 7: Log Strategy Without Log Hell
Part 3: Advanced Observability
Chapter 8: Business Intelligence Views From Telemetry
Chapter 9: Finding Bottlenecks with Flamegraphs
Chapter 10: Async Bottlenecks and Runtime Saturation
Part 4: Real-World Problems
Chapter 11: Database Bottlenecks
Chapter 12: Debugging Production Incidents
Chapter 13: Detecting Attacks in Traces
Part 5: AI-Augmented Observability
Chapter 14: Observability for AI-Augmented Services
Chapter 15: Unlock Your Exclusive Benefits
Manjunath Gangappa is a Director of Software Engineering at Mastercard R&D, with over 19 years of experience in enterprise software. He brings more than six years of hands-on Rust development along with extensive experience in the Java ecosystem, UI development (JavaScript), database design, and large-scale system architecture. At Mastercard, he drives the development of cross-border payment platforms that incorporate blockchain technology, blending deep technical expertise with practical leadership. Having implemented observability in mission-critical financial systems, he offers firsthand insight into why telemetry spanning tracing, metrics, and logging is indispensable for ensuring reliability, security, and trust in modern FinTech.
Rajkumar Rangaraj is a Principal Software Engineer at Microsoft with 19 years of experience in designing and building large-scale distributed systems and developer platforms. As a long-standing maintainer and contributor in the OpenTelemetry project, he plays an active role in shaping the future of observability across the industry. His work spans defining cross-language instrumentation strategies, architecting telemetry pipelines, and driving the adoption of open standards at scale. Rajkumar has authored migration strategies and technical specifications that help organizations transition from legacy monitoring approaches to modern, standards-based solutions. His unique perspective—bridging open-source leadership with enterprise-scale experience—positions him as both a practitioner and an architect of the next generation of observability.









