
Modern Distributed Tracing in .NET
A practical guide to observability and performance analysis for microservices
Liudmila Molkova(Author)
Packt Publishing
Published on 30. June 2023
Book
Paperback/Softback
336 pages
978-1-83763-613-6 (ISBN)
Description
Instrument .NET apps using OpenTelemetry and explore logs and .NET diagnostic tools to debug, monitor, and analyze the performance of complex systems in the cloud
Key Features
Get a clear understanding of complex systems using .NET and OpenTelemetry
Adopt a systematic approach toward performance analysis and debugging
Explore instrumentation techniques for common distributed patterns
Book DescriptionAs distributed systems become more complex and dynamic, their observability needs to grow to aid the development of holistic solutions for performance or usage analysis and debugging. Distributed tracing brings structure, correlation, causation, and consistency to your telemetry, thus allowing you to answer arbitrary questions about your system and creating a foundation for observability vendors to build visualizations and analytics.
Modern Distributed Tracing in .NET is your comprehensive guide to observability that focuses on tracing and performance analysis using a combination of telemetry signals and diagnostic tools. You'll begin by learning how to instrument your apps automatically as well as manually in a vendor-neutral way. Next, you'll explore how to produce useful traces and metrics for typical cloud patterns and get insights into your system and investigate functional, configurational, and performance issues. The book is filled with instrumentation examples that help you grasp how to enrich auto-generated telemetry or produce your own to get the level of detail your system needs, along with controlling your costs with sampling, aggregation, and verbosity.
By the end of this book, you'll be ready to adopt and leverage tracing and other observability signals and tools and tailor them to your needs as your system evolves.What you will learn
Understand the core concepts of distributed tracing and observability
Auto-instrument .NET applications with OpenTelemetry
Manually instrument common scenarios with traces and metrics
Systematically debug issues and analyze the performance
Keep performance overhead and telemetry volume under control
Adopt and evolve observability in your organization
Who this book is forThis book is for software developers, architects, and systems operators running .NET services who want to use modern observability tools and standards and take a holistic approach to performance analysis and end-to-end debugging. Software testers and support engineers will also find this book useful. Basic knowledge of the C# programming language and .NET platform is assumed to grasp the examples of manual instrumentation, but it is not necessary.
Key Features
Get a clear understanding of complex systems using .NET and OpenTelemetry
Adopt a systematic approach toward performance analysis and debugging
Explore instrumentation techniques for common distributed patterns
Book DescriptionAs distributed systems become more complex and dynamic, their observability needs to grow to aid the development of holistic solutions for performance or usage analysis and debugging. Distributed tracing brings structure, correlation, causation, and consistency to your telemetry, thus allowing you to answer arbitrary questions about your system and creating a foundation for observability vendors to build visualizations and analytics.
Modern Distributed Tracing in .NET is your comprehensive guide to observability that focuses on tracing and performance analysis using a combination of telemetry signals and diagnostic tools. You'll begin by learning how to instrument your apps automatically as well as manually in a vendor-neutral way. Next, you'll explore how to produce useful traces and metrics for typical cloud patterns and get insights into your system and investigate functional, configurational, and performance issues. The book is filled with instrumentation examples that help you grasp how to enrich auto-generated telemetry or produce your own to get the level of detail your system needs, along with controlling your costs with sampling, aggregation, and verbosity.
By the end of this book, you'll be ready to adopt and leverage tracing and other observability signals and tools and tailor them to your needs as your system evolves.What you will learn
Understand the core concepts of distributed tracing and observability
Auto-instrument .NET applications with OpenTelemetry
Manually instrument common scenarios with traces and metrics
Systematically debug issues and analyze the performance
Keep performance overhead and telemetry volume under control
Adopt and evolve observability in your organization
Who this book is forThis book is for software developers, architects, and systems operators running .NET services who want to use modern observability tools and standards and take a holistic approach to performance analysis and end-to-end debugging. Software testers and support engineers will also find this book useful. Basic knowledge of the C# programming language and .NET platform is assumed to grasp the examples of manual instrumentation, but it is not necessary.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 18 mm
Weight
629 gr
ISBN-13
978-1-83763-613-6 (9781837636136)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Liudmila Molkova
Modern Distributed Tracing in .NET
A practical guide to observability and performance analysis for microservices
E-Book
09/2024
Packt Publishing
from
€32.39
Available for download
Person
Liudmila Malkova is a principal software engineer working on observability at Microsoft. She is a co-author of the distributed tracing in .NET and tracing implementation in Azure Functions and Application Insights SDK features. She's currently a tracing and observability architect on Azure SDKs and an active contributor to the OpenTelemetry semantic conventions and instrumentation working group.
Liudmila's love to observability started at Skype, where she got first-hand experience running complex systems at high scale and was fascinated by how much telemetry can reveal even to those deeply familiar with the code.
Liudmila's love to observability started at Skype, where she got first-hand experience running complex systems at high scale and was fascinated by how much telemetry can reveal even to those deeply familiar with the code.
Content
Table of Contents
Observability Needs of Modern Applications
Native Monitoring in .NET
The .NET Observability Ecosystem
Low-Level Performance Analysis with Diagnostic Tools
Configuration and Control Plane
Tracing Your Code
Adding Custom Metrics
Writing Structured and Correlated Logs
Best Practices
Tracing Network Calls
Instrumenting Messaging Scenarios
Instrumenting Database Calls
Driving Change
Creating Your Own Conventions
Instrumenting Brownfield Applications
Observability Needs of Modern Applications
Native Monitoring in .NET
The .NET Observability Ecosystem
Low-Level Performance Analysis with Diagnostic Tools
Configuration and Control Plane
Tracing Your Code
Adding Custom Metrics
Writing Structured and Correlated Logs
Best Practices
Tracing Network Calls
Instrumenting Messaging Scenarios
Instrumenting Database Calls
Driving Change
Creating Your Own Conventions
Instrumenting Brownfield Applications