Skip to Content
Microservices in .NET Core
book

Microservices in .NET Core

by Christian Horsdal Gammelgaard
January 2017
Beginner to intermediate
344 pages
10h 58m
English
Manning Publications
Content preview from Microservices in .NET Core

Chapter 9. Cross-cutting concerns: monitoring and logging

This chapter covers

  • Monitoring in a microservice system
  • Exploring structured logging and the Serilog logging library
  • Adding correlation tokens to log messages
  • Logging requests and request performance
  • Logging unhandled exceptions

In this chapter, you’ll start using the knowledge about OWIN you gained in chapter 8 to create reusable pieces of OWIN middleware that address some important cross--cutting concerns: monitoring and logging. Both are needed across all microservices, and they play an important role in making a microservice system operation-friendly. Once your system is in production, you need to know whether all your microservices are up, which is why you need to monitor ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Microservices with .NET Core 2.0 - Second Edition

Building Microservices with .NET Core 2.0 - Second Edition

Gaurav Aroraa

Publisher Resources

ISBN: 9781617293375Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link