diff --git a/main.go b/main.go index a68a3c4..aead9d1 100644 --- a/main.go +++ b/main.go @@ -261,6 +261,8 @@ func main() { } prometheus.MustRegister(&FritzboxCollector{root, *flag_gateway_address}) + 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)