Prometheus has an official Go client library that you can use to instrument Go applications. In this guide, we'll create a simple Go application that exposes Prometheus metrics via HTTP. Installation You can install the prometheus, promauto, and promhttp libraries necessary for the guide using go get: go get github.com/prometheus/client_golang/prometheus go get github.com/prometheus/client_golang/