This post describes how to create a server in Go, which provides data from Elasticsearch for Prometheus to consume.