From 000bb24dc62fc9ecb9038b46d011b4195b2e6c1f Mon Sep 17 00:00:00 2001 From: Nils Decker Date: Sun, 11 Sep 2016 23:06:29 +0200 Subject: [PATCH] remove EnableCollectChecks because it was removed from client_golang --- main.go | 4 ---- 1 file changed, 4 deletions(-) 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) }