Monitoring Services with Prometheus
In the previous chapter, we managed to create multiple services for the Task Manager application and orchestrated them using Compose. By transforming the Task Manager application into a microservice-based application, we made code adjustments and facilitated the communication between multiple microservices.
The communication was either REST-based or message-based. By establishing the communication between the microservices, we managed to highlight the network features of Compose and made the distinction between services that were operating privately and services that were publicly accessible.
This chapter will be focused on the monitoring of the services through Compose. When it comes to microservices, we need to monitor our services and effectively troubleshoot any issues that might arise. We did have some monitoring commands through Compose in Chapter 4, Executing Docker Compose Commands; however, we would like to gain more insights. Our...