Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modern Distributed Tracing in .NET
  • Table Of Contents Toc
Modern Distributed Tracing in .NET

Modern Distributed Tracing in .NET

By : Liudmila Molkova
5 (8)
close
close
Modern Distributed Tracing in .NET

Modern Distributed Tracing in .NET

5 (8)
By: Liudmila Molkova

Overview of this book

As 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.
Table of Contents (23 chapters)
close
close
1
Part 1: Introducing Distributed Tracing
6
Part 2: Instrumenting .NET Applications
11
Part 3: Observability for Common Cloud Scenarios
16
Part 4: Implementing Distributed Tracing in Your Organization

Tracing cache calls

Caches such as Redis and Memcached are a special class of databases and are covered by database semantic conventions too. Instrumenting cache calls according to conventions is beneficial as it helps you to stay consistent across all services and to get the most out of your tracing backends in terms of visualization and analysis.

So, let’s instrument Redis according to database conventions and add cache-specific context. There is nothing specifically defined in OpenTelemetry for caches, so let’s design something of our own.

Note

Auto-instrumentation for the StackExchange.Redis client is available in the OpenTelemetry.Instrumentation.StackExchangeRedis NuGet package.

When it comes to tracing, we want to know typical things: how long a call took, whether there was an error, and what operation was attempted. Cache-specific things include an indication whether an item was retrieved from the cache or the expiration strategy (if it’s conditional...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern Distributed Tracing in .NET
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon