Summary
In this chapter, you have learned all about observability – how to perform logging and monitoring for Docker applications using both Kubernetes cloud-native approaches and using AWS services.
You learned about decoupling applications from common services (such as Redis) to increase production-readiness. In order to aid troubleshooting and the analysis of application and system problems, you learned how to extend logging beyond the running containers in a Kubernetes cluster into AWS CloudWatch and S3, as well as how to query those log storage systems using both CloudWatch Insights and AWS Athena. You saw how you might add more sophisticated Kubernetes liveness and readiness probes to an application, and how to make error handling more robust.
Then, you learned how to collect detailed metrics from both the application and the supporting systems using Prometheus, how to query those metrics, and how to set up alerts with the Prometheus Alertmanager. Prometheus and...