@ -44,6 +44,8 @@ var (
func main() {
buf = buffer.New(100, writeMetrics)
defer buf.Close()
http.HandleFunc("/metrics", handleMetrics)
http.ListenAndServe(":8080", nil)
}