Add binary-compatible collection watchdog
This commit is contained in:
1
web.go
1
web.go
@@ -122,6 +122,7 @@ func routes(collector *cpuCollector, store *Store) http.Handler {
|
||||
systemHealth := newSystemHealthCollector()
|
||||
activity := newActivityCollector()
|
||||
monitor := &monitorTracker{}
|
||||
go runCollectionWatchdog(monitor)
|
||||
go runUPSShutdownController(store, ups, guests)
|
||||
collect := func() (dashboardMetrics, error) {
|
||||
started := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user