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

Unified Diff: go/src/infra/monitoring/messages/alerts.go

Issue 1125263004: dispatcher: fix test result parsing, build ranges for failure alerts, other fixes (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: added comments, some bounds/type assertion checks Created 5 years, 7 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 | « go/src/infra/monitoring/dispatcher/dispatcher.go ('k') | go/src/infra/monitoring/messages/gatekeeper.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/monitoring/messages/alerts.go
diff --git a/go/src/infra/monitoring/messages/alerts.go b/go/src/infra/monitoring/messages/alerts.go
index c9dcdc1bf91c1c118beaea5c7f2b8974a35387e1..bfaed19cbea50ab2158d7b7f67fa58a740c2738a 100644
--- a/go/src/infra/monitoring/messages/alerts.go
+++ b/go/src/infra/monitoring/messages/alerts.go
@@ -84,10 +84,12 @@ type BuildFailure struct {
// AlertedBuilder represents an individual builder.
type AlertedBuilder struct {
- Name string
- URL string
- FirstFailure EpochTime `json:"first_failure"`
- LatestFailure EpochTime `json:"latest_failure"`
+ Name string
+ URL string
+ // FirstFailure is th build number of first failure.
Vadim Sh. 2015/05/06 22:30:23 typo: th
seanmccullough 2015/05/06 22:43:13 Done.
+ FirstFailure int64 `json:"first_failure"`
+ // LatestFailure is the build number of latest failure.
+ LatestFailure int64 `json:"latest_failure"`
}
// Reason contains information about why the Alert was triggered.
« no previous file with comments | « go/src/infra/monitoring/dispatcher/dispatcher.go ('k') | go/src/infra/monitoring/messages/gatekeeper.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698