6f5f098cfa257f6ed35fdfe53932a146110e9819.svn-base 193 B

1234567891011
  1. package main
  2. import (
  3. "github.com/prometheus/client_golang/prometheus/promhttp"
  4. "net/http"
  5. )
  6. func main() {
  7. http.Handle("/metrics", promhttp.Handler())
  8. http.ListenAndServe(":9100", nil)
  9. }