Instrumenting Your Go App With Prometheus
Prometheus is the new hotness on the monitoring front for it’s ability to integrate and monitor easily into container environments that predominate microservice architectures.
This article shows you how to add some quick and dirty Prometheus metrics to your Go application. This recipe adds in count, total duration and histogram of durations for any RESTful endpoint with go-restful. It requires the Prometheus Golang client.
Install Prometheus Client To start, install the Prometheus Go client with:
[Read More]