Chapter 10: Capturing Gin Application Metrics
In this final chapter, you will learn how to debug, troubleshoot, and monitor the RESTful API in near-real time. You will also learn how to collect Gin application metrics to measure the of the Gin application and to profile for abnormal behavior. Besides that, you will also explore how to stream Gin debug logs to a centralized logging platform using the ELK stack.
As such, we will cover the following topics:
- Exposing Gin application metrics with Prometheus
- Monitoring server-side metrics
- Streaming Gin logs to the ELK platform
By the end of this chapter, you will be able to instrument and monitor a Dockerized Gin web application running in production and debug its logs with ease.