11
Instrumenting Messaging Scenarios
Messaging and asynchronous processing improve distributed system scalability and reliability by reducing coupling between services. However, they also increase complexity and introduce a new failure mode, which makes observability even more important.
In this chapter, we’ll work on instrumenting a messaging producer and consumer with traces and metrics and cover individual and batch message processing.
In this chapter, you’ll learn how to do the following:
- Trace individual messages as they are created and published
- Instrument receiving and processing operations
- Instrument batches
- Use instrumentation to diagnose common messaging problems
By the end of this chapter, you should be able to instrument your messaging ...
Get Modern Distributed Tracing in .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.