Mastering Distributed Observability in Rust
Implement OpenTelemetry in a real-world, multi-container e-commerce architecture
Packt Publishing
Will be published approx. on 29. June 2026
Book
Paperback/Softback
282 pages
978-1-80667-179-3 (ISBN)
Description
Learn to design, implement, and scale distributed observability in Rust using OpenTelemetry, with practical examples for tracing, logging, and metrics.
Key Features
Implement end-to-end observability in Rust using OpenTelemetry APIs and Collector
Correlate logs, traces, and metrics across async, multithreaded Rust applications
Build and deploy an observable Rust microservice with Actix, Redis, and Prometheus
Configure dashboards, alerts, and trace views in Grafana using real telemetry data
Book DescriptionGain 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.What you will learn
Understand the three pillars of observability in Rust
Apply tracing and logging using the Tokio and OpenTelemetry crates
Export telemetry to backends like Prometheus, Jaeger, and Grafana
Use the OpenTelemetry Collector to manage telemetry pipelines
Correlate metrics, logs, and traces for faster debugging
Implement structured logging, redaction, and context propagation
Optimize telemetry costs with sampling strategies
Build and deploy an observability-first Rust microservice
Who this book is forRust 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.
Key Features
Implement end-to-end observability in Rust using OpenTelemetry APIs and Collector
Correlate logs, traces, and metrics across async, multithreaded Rust applications
Build and deploy an observable Rust microservice with Actix, Redis, and Prometheus
Configure dashboards, alerts, and trace views in Grafana using real telemetry data
Book DescriptionGain 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.What you will learn
Understand the three pillars of observability in Rust
Apply tracing and logging using the Tokio and OpenTelemetry crates
Export telemetry to backends like Prometheus, Jaeger, and Grafana
Use the OpenTelemetry Collector to manage telemetry pipelines
Correlate metrics, logs, and traces for faster debugging
Implement structured logging, redaction, and context propagation
Optimize telemetry costs with sampling strategies
Build and deploy an observability-first Rust microservice
Who this book is forRust 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.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Dimensions
Height: 235 mm
Width: 191 mm
ISBN-13
978-1-80667-179-3 (9781806671793)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Classification
Persons
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.
Content
Table of Contents
Introduction to Observability
Introduction to Rust (Memory Focus)
Baseline App & Telemetry Skeleton
Domain Modeling & Trace Taxonomy
Data Layer Instrumentation (Postgres & SQLx)
Metrics That Matter (RED + USE + KPIs)
Log Strategy Without Log Hell
Business Intelligence Views From Telemetry
Profiling & Memory (Flamegraphs & Allocators)
Latency Wars (Async & Backpressure)
Database Bottlenecks
Failure Injection & Chaos Rehearsals
Detection Engineering 101 (DoS & Auth Abuse)
End-to-End Incident Tracing
Introduction to Observability
Introduction to Rust (Memory Focus)
Baseline App & Telemetry Skeleton
Domain Modeling & Trace Taxonomy
Data Layer Instrumentation (Postgres & SQLx)
Metrics That Matter (RED + USE + KPIs)
Log Strategy Without Log Hell
Business Intelligence Views From Telemetry
Profiling & Memory (Flamegraphs & Allocators)
Latency Wars (Async & Backpressure)
Database Bottlenecks
Failure Injection & Chaos Rehearsals
Detection Engineering 101 (DoS & Auth Abuse)
End-to-End Incident Tracing