diff --git a/main.go b/main.go index 8f6b08a..08d1304 100644 --- a/main.go +++ b/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) }