Browse Source

register error metric

pull/1/head
Nils Decker 9 years ago
parent
commit
20e79b8016
  1. 2
      main.go

2
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)

Loading…
Cancel
Save