Summary
In this chapter, we covered observability by describing various techniques for analyzing the real-time performance of Go microservices and covering the main types of service telemetry data, such as logs, metrics, and traces. You learned about some of the best practices for performing logging, metric collection, and distributed tracing. We demonstrated how you can instrument your Go services to collect the telemetry data, as well as how to set up the tooling for distributed tracing. We also provided some examples of tracing the requests spanning three of the services that we implemented earlier in this book.
The knowledge that you gained in this chapter should help you debug various performance issues of your microservices, as well as enable monitoring of various types of telemetry data. In Chapter 12, we will demonstrate how to use the collected telemetry data to set up service alerting for detecting service-related incidents as quickly as possible.