Browse Source

remove EnableCollectChecks because it was removed from client_golang

pull/1/head
Nils Decker 8 years ago
parent
commit
000bb24dc6
  1. 4
      main.go

4
main.go

@ -322,10 +322,6 @@ func main() {
prometheus.MustRegister(collector)
prometheus.MustRegister(collect_errors)
// Since we are dealing with custom Collector implementations, it might
// be a good idea to enable the collect checks in the registry.
prometheus.EnableCollectChecks(true)
http.Handle("/metrics", prometheus.Handler())
http.ListenAndServe(*flag_addr, nil)
}

Loading…
Cancel
Save