diff --git a/prometheus/doc.go b/prometheus/doc.go index b15a2d3..618c4de 100644 --- a/prometheus/doc.go +++ b/prometheus/doc.go @@ -59,7 +59,7 @@ // // The Handler function provides a default handler to expose metrics // // via an HTTP server. "/metrics" is the usual endpoint for that. // http.Handle("/metrics", promhttp.Handler()) -// http.ListenAndServe(":8080", nil) +// log.Fatal(http.ListenAndServe(":8080", nil)) // } // //