Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1416)

Unified Diff: golden/go/skiacorrectness/main.go

Issue 1079833002: Add monitoring for expired ignore rules. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « golden/go/ignore/monitor.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: golden/go/skiacorrectness/main.go
diff --git a/golden/go/skiacorrectness/main.go b/golden/go/skiacorrectness/main.go
index 86f06d3d59de5048f6f77d7ac985bdc3b530aae1..3272a65b3e1400dc8fb57251b32ac68873cda74a 100644
--- a/golden/go/skiacorrectness/main.go
+++ b/golden/go/skiacorrectness/main.go
@@ -12,6 +12,7 @@ import (
"time"
"github.com/gorilla/mux"
+ "github.com/rcrowley/go-metrics"
"github.com/skia-dev/glog"
"go.skia.org/infra/go/auth"
"go.skia.org/infra/go/common"
@@ -369,6 +370,10 @@ func main() {
NCommits: *nCommits,
}
+ if err := ignore.StartMonitoring(storages.IgnoreStore, metrics.DefaultRegistry); err != nil {
stephana 2015/04/13 13:56:57 How about calling this Init and setting the Defaul
jcgregorio 2015/04/13 14:10:59 Done.
+ glog.Fatalf("Failed to start monitoring for expired ignore rules: %s", err)
+ }
+
// Enable the experimental features.
if *startExperimental {
tallies, err = tally.New(storages)
« no previous file with comments | « golden/go/ignore/monitor.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698