Summary
In this chapter, we discussed the key aspects of performance monitoring of microservices. First, you learned how to create service performance dashboards using a popular open source dashboarding tool, Grafana. Then, we demonstrated how to capture and analyze the CPU and memory profiles of Go microservices to identify which parts of the service logic consume the most CPU and memory resources. The knowledge you gained should help you establish mechanisms for monitoring the performance of your microservices to identify scalability bottlenecks, optimize resource usage, and ensure the reliability and scalability of your Go microservices.
This chapter ends Part 3 of the book. In the next chapter, we are going to review some advanced topics of Go microservice development, such as common distributed system challenges that you might face when building more complex Go applications.