Setting up observability
Having separate components for different functional requirements is one of the fundamental concepts of any microservice architecture. When it comes to troubleshooting issues and recovering from failures, it is always useful to have a central place to look into. That is what we discussed in Chapter 8, Observability with NATS in a Microservice Architecture. There, we discussed how to configure observability features in the sample microservices and the NATS server. You can refer to that chapter and add observability capabilities to the OPD application microservices that we used in this chapter. We will leave that as an exercise for you.
In this section, we are going to discuss how to enable observability for the integration platform so that all the components of the platform, including microservices and NATS servers, are monitored through a centralized platform.