Chapter 10. Monitoring Your Application
In the previous chapters, you learned how to build a Microservice application with the Go programming language and how to (continuously) deploy it into various environments.
However, our work is not yet complete. When you have an application running in a production environment, you will need to ensure that it stays up and running and behaves the way that you as a developer intended. This is what monitoring is for.
In this chapter, we will introduce you to Prometheus, an open source monitoring software that has quickly gained popularity for monitoring cloud-based distributed applications. It is often used together with Grafana, a frontend for visualizing metrics data collected by Prometheus. Both applications are licensed under the Apache license. You will learn how to set up Prometheus and Grafana and how to integrate them into your own applications.
In this chapter, we will cover the following topics:
- Installing and using Prometheus
- Installing Grafana
- Exporting...