March 2020
Intermediate to advanced
406 pages
8h 39m
English
One of the best ways to track long-term changes to your application is to use time-series data to monitor and alert us about important changes. Prometheus (https://prometheus.io/) is a great way to perform this task. Prometheus is an open source time-series monitoring tool that utilizes a pull model via HTTP in order to drive monitoring and alerting. It is written in Go and has first-class client libraries for Go programs. The following steps show a very simple implementation of the Go Prometheus HTTP library:
package mainimport ( "net/http" "github.com/prometheus/client_golang/prometheus/promhttp")
Read now
Unlock full access